Package io.atomix.client
Class Synchronous<T extends AsyncPrimitive>
java.lang.Object
io.atomix.client.Synchronous<T>
- Type Parameters:
T- type of DistributedPrimitive
- All Implemented Interfaces:
DistributedPrimitive,SyncPrimitive
DistributedPrimitive that is a synchronous (blocking) version of
another.
-
Field Summary
Fields inherited from interface io.atomix.client.DistributedPrimitive
DEFAULT_OPERATION_TIMEOUT_MILLIS -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.atomix.client.DistributedPrimitive
addStateChangeListener, removeStateChangeListenerMethods inherited from interface io.atomix.client.SyncPrimitive
async
-
Constructor Details
-
Synchronous
-
-
Method Details
-
name
Description copied from interface:DistributedPrimitiveReturns the name of this primitive.- Specified by:
namein interfaceDistributedPrimitive- Returns:
- name
-
close
public void close()Description copied from interface:SyncPrimitiveCloses the primitive.- Specified by:
closein interfaceSyncPrimitive
-