|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.management.repository.ConfigEpoch
public class ConfigEpoch
A ConfigEpoch is used to determine if changes have been made to the repository between points in time. A config epoch is a span of time during which there are no repository changes; all ConfigEpoch instances obtained during a single config epoch will be equal to each other. Whenever the repository is changed, a new config epoch begins.
By comparing two ConfigEpoch instances obtained at different points in time, it is possible to determine whether the repository has changed between those points in time. If the objects are not equal, the repository has changed; otherwise, the repository has not changed.
Constructor Summary | |
---|---|
ConfigEpoch()
Creates a ConfigEpoch with the current timestamp. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object obj)
Compares this ConfigEpoch instance with the specified object
for order. |
boolean |
equals(java.lang.Object obj)
Compares this ConfigEpoch instance to another object. |
void |
refresh()
Not for public use. |
java.lang.String |
toString()
|
void |
update()
Not for public use. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConfigEpoch()
Method Detail |
---|
public void update()
public void refresh()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- object to be compared to this ConfigEpoch instance
true
if obj
is an instance of ConfigEpoch
with the same value as this instancepublic java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(java.lang.Object obj)
ConfigEpoch
instance with the specified object
for order. Returns a negative integer, zero, or a positive integer as this
object is older than, equal to, or newer than the specified object.
compareTo
in interface java.lang.Comparable
obj
- the object to be compared
java.lang.ClassCastException
- if the specified object is not an
instance of ConfigEpoch
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |