|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jalios.jstore.jsync.ReplicaInfo
public class ReplicaInfo
This class contains info about a replica
Field Summary | |
---|---|
protected boolean |
isEnabled
|
protected Date |
joinDate
|
protected Date |
lastAckDate
|
protected Date |
lastUpdateDate
|
protected StampTable |
progressTable
|
static String |
REVISION
|
protected String |
urid
|
protected String |
url
|
Method Summary | |
---|---|
Date |
getJoinDate()
Get the value of joinDate. |
Date |
getLastAckDate()
Get the value of lastAckDate. |
Date |
getLastUpdateDate()
Get the value of lastUpdateDate. |
StampTable |
getProgressTable()
Get the value of progressTable. |
String |
getUrid()
Get the value of urid. |
String |
getUrl()
Get the value of url. |
boolean |
isEnabled()
Get the value of isEnabled. |
boolean |
isOutOfDate(StampTable compareTable)
Check if this replica is out of date. |
boolean |
isOutOfDate(StampTable compareTable,
boolean skipMe)
Check if this replica is out of date. |
void |
setEnabled(boolean v)
Set the value of isEnabled. |
void |
setJoinDate(Date v)
Set the value of joinDate. |
void |
setLastAckDate(Date v)
Set the value of lastAckDate. |
void |
setLastUpdateDate(Date v)
Set the value of lastUpdateDate. |
void |
setProgressTable(StampTable v)
Set the value of progressTable. |
void |
setUrid(String v)
Set the value of urid. |
void |
setUrl(String v)
Set the value of url. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String REVISION
protected String urid
protected StampTable progressTable
protected String url
protected boolean isEnabled
protected Date joinDate
protected Date lastUpdateDate
protected Date lastAckDate
Method Detail |
---|
public boolean isOutOfDate(StampTable compareTable)
compareTable
- the progress table used for comparison
isOutOfDate(StampTable,boolean)
public boolean isOutOfDate(StampTable compareTable, boolean skipMe)
compareTable
- the progress table used for comparisonskipMe
- if true do not compare stamp of this replica
public String toString()
toString
in class Object
public String getUrid()
public void setUrid(String v)
v
- Value to assign to urid.public StampTable getProgressTable()
public void setProgressTable(StampTable v)
v
- Value to assign to progressTable.public String getUrl()
public void setUrl(String v)
v
- Value to assign to url.public boolean isEnabled()
public void setEnabled(boolean v)
v
- Value to assign to isEnabled.public Date getJoinDate()
public void setJoinDate(Date v)
v
- Value to assign to joinDate.public Date getLastUpdateDate()
public void setLastUpdateDate(Date v)
v
- Value to assign to lastUpdateDate.public Date getLastAckDate()
public void setLastAckDate(Date v)
v
- Value to assign to lastAckDate.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |