com.sun.jini.jeri.internal.runtime
Class SequenceEntry
java.lang.Object
com.sun.jini.jeri.internal.runtime.SequenceEntry
final class SequenceEntry
- extends Object
Method Summary |
(package private) boolean |
keep()
|
(package private) boolean |
update(long seqNum,
boolean strong)
If the passed in sequence number is greater than the current number,
it is updated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sequenceNum
private volatile long sequenceNum
keep
private volatile boolean keep
SequenceEntry
SequenceEntry(long sequenceNum)
SequenceEntry
SequenceEntry(long sequenceNum,
boolean strong)
update
boolean update(long seqNum,
boolean strong)
- If the passed in sequence number is greater than the current number,
it is updated.
If
- Parameters:
seqNum
- - passed in sequence number.strong
- - strong clean call is kept in the event of an update.
- Returns:
- true if the sequence number is updated.
keep
boolean keep()
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.