Package com.google.api.client.util.store
Utilities to store serializable data.
- Since:
- 1.16
-
Interface Summary Interface Description DataStore<V extends java.io.Serializable> Stores and manages serializable data of a specific type, where the key is a string and the value is aSerializable
object.DataStoreFactory Factory for a store that manages serializable data, where the key is a string and the value is aSerializable
object. -
Class Summary Class Description AbstractDataStore<V extends java.io.Serializable> Abstract data store implementation.AbstractDataStoreFactory Abstract data store factory implementation.AbstractMemoryDataStore<V extends java.io.Serializable> Abstract, thread-safe, in-memory implementation of a data store factory.DataStoreUtils Utilities for data stores.FileDataStoreFactory Thread-safe file implementation of a credential store.FileDataStoreFactory.FileDataStore<V extends java.io.Serializable> File data store that inherits from the abstract memory data store because the key-value pairs are stored in a memory cache, and saved in the file (seeFileDataStoreFactory.FileDataStore.save()
when changing values.MemoryDataStoreFactory Thread-safe in-memory implementation of a data store factory.MemoryDataStoreFactory.InstanceHolder Holder for the result ofMemoryDataStoreFactory.getDefaultInstance()
.MemoryDataStoreFactory.MemoryDataStore<V extends java.io.Serializable>