Class ProviderDataStructureItem<TValue>


  • public class ProviderDataStructureItem<TValue>
    extends ProviderItemBase
    ProviderDataStructureItem is just like a CacheItem , but it has some limited fields
    • Method Detail

      • getType

        public final DistributedDataStructureType getType()
        Gets the type of the DistributedDataStructure.
        Returns:
        The type of the DistributedDataStructure.
      • setType

        public final void setType​(DistributedDataStructureType value)
        Sets the type of the DistributedDataStructure.
        Parameters:
        value - The type of the DistributedDataStructure.
      • getCounter

        public final long getCounter()
        Gets the value of the counter.
        Returns:
        The value of the counter.
      • setCounter

        public final void setCounter​(long value)
        Sets the value of the counter.
        Parameters:
        value - The value that is to be set as counter value.
      • getDataAsJson

        public <T extends JsonValueBase> T getDataAsJson()
        Gets the value of the datastructure in the form of JsonValueBase.
        Type Parameters:
        T - Type of the JsonValueBase.
        Returns:
        The JsonValueBase instance.