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

    Modifier and Type
    Method
    Description
    void
    Destroy this instance.
    Get the name of this instance.
  • 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 an EntryDestroyedException. The exception to this is the use of the getName method which will not result in an exception.

      Additionally, incrementing a DCounter instance from a different VM, after a destroy, will not result in an exception.