|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.service.storage.SequenceDestinations
public class SequenceDestinations
Provides information regarding a sequence number and the destinations associated with this sequence number
| Constructor Summary | |
|---|---|
SequenceDestinations(byte[] marshalledBytes)
|
|
SequenceDestinations(long sequenceNumber,
int[] destinations)
|
|
| Method Summary | |
|---|---|
boolean |
containsDestination(int entityId)
Checks to see if t he destinations list contains the specified entity id |
byte[] |
getBytes()
|
int[] |
getDestinations()
|
long |
getSequenceNumber()
|
boolean |
hasDestinations()
|
boolean |
hasValidDestinations()
If all the destinations have been set to zero, there aren't any valid destinations anymore |
void |
removeDestination(int entityId)
Removes a destination from the set of valid destinations |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SequenceDestinations(long sequenceNumber,
int[] destinations)
public SequenceDestinations(byte[] marshalledBytes)
| Method Detail |
|---|
public long getSequenceNumber()
public boolean hasDestinations()
public int[] getDestinations()
public boolean containsDestination(int entityId)
public boolean hasValidDestinations()
public void removeDestination(int entityId)
public byte[] getBytes()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||