Uses of Interface
com.google.api.client.util.store.DataStore
-
Packages that use DataStore Package Description com.google.api.client.test.util.store Abstract tests for data stores.com.google.api.client.util.store 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 Modifier and Type Field Description (package private) DataStore<java.lang.Boolean>
AbstractDataStoreFactoryTest. boolTyped
(package private) DataStore<java.lang.String>
AbstractDataStoreFactoryTest. stringTyped
-
Uses of DataStore in com.google.api.client.util.store
Classes in com.google.api.client.util.store that implement DataStore Modifier and Type Class Description class
AbstractDataStore<V extends java.io.Serializable>
Abstract data store implementation.class
AbstractMemoryDataStore<V extends java.io.Serializable>
Abstract, thread-safe, in-memory implementation of a data store factory.(package private) static class
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.(package private) static class
MemoryDataStoreFactory.MemoryDataStore<V extends java.io.Serializable>
Fields in com.google.api.client.util.store with type parameters of type DataStore Modifier and Type Field Description private java.util.Map<java.lang.String,DataStore<? extends java.io.Serializable>>
AbstractDataStoreFactory. dataStoreMap
Map of data store ID to data store.Methods in com.google.api.client.util.store that return DataStore Modifier and Type Method Description DataStore<V>
AbstractMemoryDataStore. clear()
DataStore<V>
DataStore. clear()
Deletes all of the stored keys and values.protected abstract <V extends java.io.Serializable>
DataStore<V>AbstractDataStoreFactory. createDataStore(java.lang.String id)
Returns a new instance of a type-specific data store based on the given unique ID.protected <V extends java.io.Serializable>
DataStore<V>FileDataStoreFactory. createDataStore(java.lang.String id)
protected <V extends java.io.Serializable>
DataStore<V>MemoryDataStoreFactory. createDataStore(java.lang.String id)
DataStore<V>
AbstractMemoryDataStore. delete(java.lang.String key)
DataStore<V>
DataStore. delete(java.lang.String key)
Deletes the stored key and value based on the given key, or ignored if the key doesn't already exist.<V extends java.io.Serializable>
DataStore<V>AbstractDataStoreFactory. getDataStore(java.lang.String id)
<V extends java.io.Serializable>
DataStore<V>DataStoreFactory. getDataStore(java.lang.String id)
Returns a type-specific data store based on the given unique ID.DataStore<V>
AbstractMemoryDataStore. set(java.lang.String key, V value)
DataStore<V>
DataStore. set(java.lang.String key, V value)
Stores the given value for the given key (replacing any existing value).Methods in com.google.api.client.util.store with parameters of type DataStore Modifier and Type Method Description static java.lang.String
DataStoreUtils. toString(DataStore<?> dataStore)
Returns a debug string for the given data store to be used as an implementation ofObject.toString()
.
-