|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimestampDiscrepancyObserver
An object that observes changes in a TimestampDiscrepancyService
.
Method Summary | |
---|---|
boolean |
canRemoveDeadEntry(org.jboss.ha.framework.interfaces.ClusterNode dead,
long lastChecked)
Callback allowing the observer to veto the removal by the TimestampDiscrepancyService of discrepancy data for a
node that is no longer active in the cluster. |
void |
timestampDiscrepancyChanged(org.jboss.ha.framework.interfaces.ClusterNode node,
TimestampDiscrepancy discrepancy)
Notification from TimestampDiscrepancyService when it has
changed the TimestampDiscrepancy associated with a particular
node. |
Method Detail |
---|
void timestampDiscrepancyChanged(org.jboss.ha.framework.interfaces.ClusterNode node, TimestampDiscrepancy discrepancy)
TimestampDiscrepancyService
when it has
changed the TimestampDiscrepancy
associated with a particular
node.
node
- the nodediscrepancy
- the new discrepancyboolean canRemoveDeadEntry(org.jboss.ha.framework.interfaces.ClusterNode dead, long lastChecked)
TimestampDiscrepancyService
of discrepancy data for a
node that is no longer active in the cluster. Allows the observer to
request that data for historically relevant nodes be retained.
dead
- the nodelastChecked
- the time (in ms since the epoch) the caller was
last able to obtain timestamp information from the
caller
true
if the data can be removed, false
if it must be retained.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |