Class MemoryDataStoreFactory

    • Constructor Detail

      • MemoryDataStoreFactory

        public MemoryDataStoreFactory()
    • Method Detail

      • createDataStore

        protected <V extends java.io.Serializable> DataStore<V> createDataStore​(java.lang.String id)
                                                                         throws java.io.IOException
        Description copied from class: AbstractDataStoreFactory
        Returns a new instance of a type-specific data store based on the given unique ID.

        The DataStore.getId() must match the id parameter from this method.

        Specified by:
        createDataStore in class AbstractDataStoreFactory
        Type Parameters:
        V - serializable type of the mapped value
        Parameters:
        id - unique ID to refer to typed data store
        Throws:
        java.io.IOException
      • getDefaultInstance

        public static MemoryDataStoreFactory getDefaultInstance()
        Returns a global thread-safe instance.