Interface TerracottaStore

    • Method Detail

      • unsafeGet

        Element unsafeGet​(java.lang.Object key)
        Returns the local value associated with the key. Local value means that the object mapped to the key is present in the VM locally. In case its not, will return null. Note that even when returning null, the value may be present in the Terracotta server array.

        This operation does not acquire any locks when doing the operation and may return stale values. This Operation does not update last usage statistics

        Parameters:
        key - the key
        Returns:
        the element associated with key or null
      • quickClear

        void quickClear()
        Remove all the contents of the store.
      • quickSize

        int quickSize()
        Get an approximate count of elements in the store.
        Returns:
        an approximate count of elements in the store.
      • getLocalKeys

        java.util.Set getLocalKeys()
        Returns set of keys from the cache which are present in the node locally.
        Returns:
        set of keys present locally in the node
      • notifyCacheEventListenersChanged

        void notifyCacheEventListenersChanged()
        Notify the underlying store that some change has occured in the set of registered cache listeners.