|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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
|
static String |
RI_ELT_NAME
|
static String |
RI_IS_ENABLED
|
static String |
RI_JOIN_DATE
|
static String |
RI_LAST_ACK_DATE
|
static String |
RI_LAST_UPDATE_DATE
|
static String |
RI_URID
|
static String |
RI_URL
|
protected String |
urid
|
protected String |
url
|
Fields inherited from interface com.jalios.util.JaliosConstants |
---|
CRLF, MILLIS_IN_ONE_DAY, MILLIS_IN_ONE_HOUR, MILLIS_IN_ONE_MINUTE, MILLIS_IN_ONE_MONTH, MILLIS_IN_ONE_SECOND, MILLIS_IN_ONE_WEEK, MILLIS_IN_ONE_YEAR |
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()
|
String |
toXml()
Returns the XML representation for this workflow. |
String |
toXml(boolean includeXmlHeader)
|
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
public static final String RI_ELT_NAME
public static final String RI_URID
public static final String RI_URL
public static final String RI_IS_ENABLED
public static final String RI_JOIN_DATE
public static final String RI_LAST_UPDATE_DATE
public static final String RI_LAST_ACK_DATE
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.public String toXml()
public String toXml(boolean includeXmlHeader)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |