@API(value=EXPERIMENTAL) public interface FDBRecordStoreStateCacheFactory
FDBRecordStoreStateCache
s. This can be given to the
FDBDatabaseFactory
singleton to ensure that each
FDBDatabase
is provided with its own cache
instance.Modifier and Type | Method and Description |
---|---|
FDBRecordStoreStateCache |
getCache(FDBDatabase database)
Produce a
FDBRecordStoreStateCache . |
@Nonnull FDBRecordStoreStateCache getCache(@Nonnull FDBDatabase database)
FDBRecordStoreStateCache
. Two instances produced by this factory should not
share any common state as they should not be assumed to cache store information for record stores
from the same database.database
- the database that the produced cache will be used withFDBRecordStoreStateCache