Tanzu GemFire Distributed Types Java API Reference
Interface DType
- All Known Subinterfaces:
DAtomicLong,DAtomicReference<V>,DBlockingQueue<E>,DCircularQueue<E>,DCountDownLatch,DCounter,DList<E>,DSemaphore,DSet<E>,DSnowflakeId
public interface DType
Base interface for all Distributed Types
-
Method Summary
-
Method Details
-
getName
String getName()Get the name of this instance.- Returns:
- the name of the instance
-
destroy
void destroy()Destroy this instance. Once destroyed, other references to the named instance, (including in other VMs), should not be used anymore. Access of destroyed instances will typically result in anEntryDestroyedException. The exception to this is the use of thegetNamemethod which will not result in an exception.Additionally, incrementing a
DCounterinstance from a different VM, after a destroy, will not result in an exception.
-