CachedStoreUtils#synchronizedCachedStore, CachedStoreUtils#synchronizedTweakableCachedStore
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static WritableCachedStore | |
| public static WritableCachedStore | createDefaultWritableCachedStore(WritableCachedStore.
creates a WritableCachedStore implementation that uses soft keys and synchronous cleanup for its read cache. |
| public static TweakableCachedStore | createNoCacheCachedStore(CachedStore.
Always reads directly from manager, as if values are always dirty. |
| public static WritableCachedStore | createNoCacheWritableCachedStore(WritableCachedStore.
Always reads directly from manager, as if values are always dirty. |
| public static TweakableCachedStore | |
| public static TweakableCachedStore | createSoftValueCachedStore(CachedStore.
Better to use createSynchronousCleanupSoftKeyCachedStore to prevent the build of cleaned SoftReferences, unless the universe of potential cacheables is small. |
| public static TweakableCachedStore |
| CachedStoreFactory | back to summary |
|---|---|
| public CachedStoreFactory() | |
| cacheWritesOnlyWritableCachedStore | back to summary |
|---|---|
| public static WritableCachedStore cacheWritesOnlyWritableCachedStore(WritableCachedStore. | |
| createDefaultWritableCachedStore | back to summary |
|---|---|
| public static WritableCachedStore createDefaultWritableCachedStore(WritableCachedStore. creates a WritableCachedStore implementation that uses soft keys and synchronous cleanup for its read cache. | |
| createNoCacheCachedStore | back to summary |
|---|---|
| public static TweakableCachedStore createNoCacheCachedStore(CachedStore. Always reads directly from manager, as if values are always dirty. | |
| createNoCacheWritableCachedStore | back to summary |
|---|---|
| public static WritableCachedStore createNoCacheWritableCachedStore(WritableCachedStore. Always reads directly from manager, as if values are always dirty. Always writes to back-end storage. Effectively Autoflushing, since every write is flushed.
| |
| createNoCleanupCachedStore | back to summary |
|---|---|
| public static TweakableCachedStore createNoCleanupCachedStore(CachedStore. | |
| createSoftValueCachedStore | back to summary |
|---|---|
| public static TweakableCachedStore createSoftValueCachedStore(CachedStore. Better to use createSynchronousCleanupSoftKeyCachedStore to prevent the build of cleaned SoftReferences, unless the universe of potential cacheables is small. | |
| createSynchronousCleanupSoftKeyCachedStore | back to summary |
|---|---|
| public static TweakableCachedStore createSynchronousCleanupSoftKeyCachedStore(CachedStore. | |