com.tc.object.locks
Class UnclusteredLockID

java.lang.Object
  extended by com.tc.object.locks.UnclusteredLockID
All Implemented Interfaces:
TCSerializable, LockID, java.io.Serializable, java.lang.Comparable

public class UnclusteredLockID
extends java.lang.Object
implements LockID

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.tc.object.locks.LockID
LockID.LockIDType
 
Field Summary
static UnclusteredLockID UNCLUSTERED_LOCK_ID
           
 
Method Summary
 java.lang.String asString()
           
 int compareTo(java.lang.Object o)
           
 java.lang.Object deserializeFrom(TCByteBufferInput serialInput)
           
 LockID.LockIDType getLockType()
          Returns the type of this LockID
 void serializeTo(TCByteBufferOutput serialOutput)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNCLUSTERED_LOCK_ID

public static final UnclusteredLockID UNCLUSTERED_LOCK_ID
Method Detail

asString

public java.lang.String asString()

getLockType

public LockID.LockIDType getLockType()
Description copied from interface: LockID
Returns the type of this LockID

Used to determine the TCSerialization format that should be used when sending over the network.

Specified by:
getLockType in interface LockID

deserializeFrom

public java.lang.Object deserializeFrom(TCByteBufferInput serialInput)
Specified by:
deserializeFrom in interface TCSerializable

serializeTo

public void serializeTo(TCByteBufferOutput serialOutput)
Specified by:
serializeTo in interface TCSerializable

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable


Copyright © 2010 Terracotta, Inc.. All Rights Reserved.