Package com.jalios.jstore.jsync
Class ReplicaInfo
java.lang.Object
com.jalios.jstore.jsync.ReplicaInfo
- All Implemented Interfaces:
JaliosConstants
This class contains info about a replica
- Author:
- Olivier Dedieu
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected Dateprotected Dateprotected Dateprotected StampTablestatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected Stringprotected StringFields 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
Modifier and TypeMethodDescriptionGet the value of joinDate.Get the value of lastAckDate.Get the value of lastUpdateDate.Get the value of progressTable.getUrid()Get the value of urid.getUrl()Get the value of url.booleanGet the value of isEnabled.booleanisOutOfDate(StampTable compareTable) Check if this replica is out of date.booleanisOutOfDate(StampTable compareTable, boolean skipMe) Check if this replica is out of date.voidsetEnabled(boolean v) Set the value of isEnabled.voidsetJoinDate(Date v) Set the value of joinDate.voidSet the value of lastAckDate.voidSet the value of lastUpdateDate.voidSet the value of progressTable.voidSet the value of urid.voidSet the value of url.toString()toXml()Returns the XML representation for this workflow.toXml(boolean includeXmlHeader)
-
Field Details
-
urid
-
progressTable
-
url
-
isEnabled
protected boolean isEnabled -
joinDate
-
lastUpdateDate
-
lastAckDate
-
RI_ELT_NAME
- See Also:
-
RI_URID
- See Also:
-
RI_URL
- See Also:
-
RI_IS_ENABLED
- See Also:
-
RI_JOIN_DATE
- See Also:
-
RI_LAST_UPDATE_DATE
- See Also:
-
RI_LAST_ACK_DATE
- See Also:
-
-
Method Details
-
isOutOfDate
Check if this replica is out of date. I.E. if its progress table is lesser than the given one.- Parameters:
compareTable- the progress table used for comparison- Returns:
- true if the progress table is lesser than the compareTable
- Since:
- jcms-4.1
- See Also:
-
isOutOfDate
Check if this replica is out of date. I.E. if its progress table is lesser than the given one.- Parameters:
compareTable- the progress table used for comparisonskipMe- if true do not compare stamp of this replica- Returns:
- true if the progress table is lesser than the compareTable
- Since:
- jcms-4.1
-
toString
-
getUrid
Get the value of urid.- Returns:
- Value of urid.
- Since:
- jcms-4.1
-
setUrid
Set the value of urid.- Parameters:
v- Value to assign to urid.- Since:
- jcms-4.1
-
getProgressTable
Get the value of progressTable.- Returns:
- Value of progressTable.
- Since:
- jcms-4.1
-
setProgressTable
Set the value of progressTable.- Parameters:
v- Value to assign to progressTable.- Since:
- jcms-4.1
-
getUrl
Get the value of url.- Returns:
- Value of url.
- Since:
- jcms-4.1
-
setUrl
Set the value of url.- Parameters:
v- Value to assign to url.- Since:
- jcms-4.1
-
isEnabled
public boolean isEnabled()Get the value of isEnabled.- Returns:
- Value of isEnabled.
- Since:
- jcms-4.1
-
setEnabled
public void setEnabled(boolean v) Set the value of isEnabled.- Parameters:
v- Value to assign to isEnabled.- Since:
- jcms-4.1
-
getJoinDate
Get the value of joinDate.- Returns:
- Value of joinDate.
-
setJoinDate
Set the value of joinDate.- Parameters:
v- Value to assign to joinDate.- Since:
- jcms-4.1
-
getLastUpdateDate
Get the value of lastUpdateDate.- Returns:
- Value of lastUpdateDate.
-
setLastUpdateDate
Set the value of lastUpdateDate.- Parameters:
v- Value to assign to lastUpdateDate.- Since:
- jcms-4.1
-
getLastAckDate
Get the value of lastAckDate.- Returns:
- Value of lastAckDate.
- Since:
- jcms-4.1
-
setLastAckDate
Set the value of lastAckDate.- Parameters:
v- Value to assign to lastAckDate.- Since:
- jcms-4.1
-
toXml
Returns the XML representation for this workflow.- Returns:
- the XML representation for this workflow.
- Since:
- jcms-5.7.0
-
toXml
-