Package org.hcjf.cloud.impl.objects
Class DistributedLeaf
- java.lang.Object
-
- org.hcjf.cloud.impl.objects.DistributedLeaf
-
- All Implemented Interfaces:
DistributedObject
- Direct Known Subclasses:
LocalLeaf,RemoteLeaf
public abstract class DistributedLeaf extends java.lang.Object implements DistributedObject
- Author:
- javaito
-
-
Constructor Summary
Constructors Constructor Description DistributedLeaf(java.lang.Object key)
-
Method Summary
Modifier and Type Method Description java.lang.ObjectgetKey()java.lang.LonggetLastUpdate()java.util.Set<java.util.UUID>getNodes()java.util.Set<java.util.UUID>getServiceEndPoints()voidsetLastUpdate(java.lang.Long lastUpdate)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hcjf.cloud.impl.objects.DistributedObject
getInstance
-
-
-
-
Method Detail
-
getKey
public java.lang.Object getKey()
- Specified by:
getKeyin interfaceDistributedObject
-
getLastUpdate
public final java.lang.Long getLastUpdate()
- Specified by:
getLastUpdatein interfaceDistributedObject
-
setLastUpdate
public final void setLastUpdate(java.lang.Long lastUpdate)
-
getNodes
public java.util.Set<java.util.UUID> getNodes()
-
getServiceEndPoints
public java.util.Set<java.util.UUID> getServiceEndPoints()
-
-