com.endeca.itl.recordstore
Class ClientStateInfo

java.lang.Object
  extended by com.endeca.itl.recordstore.ClientStateInfo

public class ClientStateInfo
extends Object

Contains commit status, last read generation, and transaction information for a given client.


Constructor Summary
ClientStateInfo()
           
ClientStateInfo(ClientId clientId, TransactionId transactionId, GenerationId lastReadGenerationId, boolean isCommitted)
           
 
Method Summary
 boolean equals(Object other)
           
 ClientId getClientId()
           
 GenerationId getLastReadGenerationId()
           
 TransactionId getTransactionId()
           
 int hashCode()
           
 boolean isCommitted()
           
 void setClientId(ClientId value)
           
 void setCommitted(boolean value)
           
 void setLastReadGenerationId(GenerationId value)
           
 void setTransactionId(TransactionId value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClientStateInfo

public ClientStateInfo()

ClientStateInfo

public ClientStateInfo(ClientId clientId,
                       TransactionId transactionId,
                       GenerationId lastReadGenerationId,
                       boolean isCommitted)
Method Detail

getClientId

public ClientId getClientId()

setClientId

public void setClientId(ClientId value)

getTransactionId

public TransactionId getTransactionId()

setTransactionId

public void setTransactionId(TransactionId value)

getLastReadGenerationId

public GenerationId getLastReadGenerationId()

setLastReadGenerationId

public void setLastReadGenerationId(GenerationId value)

isCommitted

public boolean isCommitted()

setCommitted

public void setCommitted(boolean value)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 Endeca. All Rights Reserved.