Tanzu GemFire Distributed Types Java API Reference
Package dev.gemfire.dtype
Interface DType
-
- All Known Subinterfaces:
DAtomicLong,DAtomicReference<V>,DBlockingQueue<E>,DCircularQueue<E>,DCountDownLatch,DCounter,DList<E>,DSemaphore,DSet<E>,DSnowflake
public interface DTypeBase interface for all Distributed Types
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddestroy()Destroy this instance.java.lang.StringgetName()Get the name of this instance.
-
-
-
Method Detail
-
getName
java.lang.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.
-
-