Uses of Interface
com.google.api.client.util.store.DataStore
Packages that use DataStore
Package
Description
Abstract tests for data stores.
Utilities to store serializable data.
-
Uses of DataStore in com.google.api.client.test.util.store
Fields in com.google.api.client.test.util.store declared as DataStore -
Uses of DataStore in com.google.api.client.util.store
Classes in com.google.api.client.util.store that implement DataStoreModifier and TypeClassDescriptionclassAbstractDataStore<V extends Serializable>Abstract data store implementation.classAbstractMemoryDataStore<V extends Serializable>Abstract, thread-safe, in-memory implementation of a data store factory.(package private) static classFileDataStoreFactory.FileDataStore<V extends 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.(package private) static classFields in com.google.api.client.util.store with type parameters of type DataStoreModifier and TypeFieldDescriptionprivate final Map<String, DataStore<? extends Serializable>> AbstractDataStoreFactory.dataStoreMapMap of data store ID to data store.Methods in com.google.api.client.util.store that return DataStoreModifier and TypeMethodDescriptionAbstractMemoryDataStore.clear()DataStore.clear()Deletes all of the stored keys and values.protected abstract <V extends Serializable>
DataStore<V> AbstractDataStoreFactory.createDataStore(String id) Returns a new instance of a type-specific data store based on the given unique ID.protected <V extends Serializable>
DataStore<V> FileDataStoreFactory.createDataStore(String id) protected <V extends Serializable>
DataStore<V> MemoryDataStoreFactory.createDataStore(String id) Deletes the stored key and value based on the given key, or ignored if the key doesn't already exist.final <V extends Serializable>
DataStore<V> AbstractDataStoreFactory.getDataStore(String id) <V extends Serializable>
DataStore<V> DataStoreFactory.getDataStore(String id) Returns a type-specific data store based on the given unique ID.Stores the given value for the given key (replacing any existing value).Methods in com.google.api.client.util.store with parameters of type DataStoreModifier and TypeMethodDescriptionstatic StringReturns a debug string for the given data store to be used as an implementation ofObject.toString().