T - type of DistributedPrimitivepublic abstract class Synchronous<T extends DistributedPrimitive> extends java.lang.Object implements DistributedPrimitive
DistributedPrimitive.Status, DistributedPrimitive.TypeDEFAULT_OPERATION_TIMEOUT_MILLIS, DEFAULT_OPERTATION_TIMEOUT_MILLIS| Constructor and Description |
|---|
Synchronous(T primitive) |
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.CompletableFuture<java.lang.Void> |
destroy()
Purges state associated with this primitive.
|
java.lang.String |
name()
Returns the name of this primitive.
|
DistributedPrimitive.Type |
primitiveType()
Returns the type of primitive.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddStatusChangeListener, applicationId, removeStatusChangeListener, statusChangeListenerspublic Synchronous(T primitive)
public java.lang.String name()
DistributedPrimitivename in interface DistributedPrimitivepublic DistributedPrimitive.Type primitiveType()
DistributedPrimitiveprimitiveType in interface DistributedPrimitivepublic java.util.concurrent.CompletableFuture<java.lang.Void> destroy()
DistributedPrimitiveImplementations can override and provide appropriate clean up logic for purging any state state associated with the primitive. Whether modifications made within the destroy method have local or global visibility is left unspecified.
destroy in interface DistributedPrimitiveCompletableFuture that is completed when the operation completes