Class CacheManager
java.lang.Object
com.swiftmq.impl.store.standard.cache.CacheManager
-
Constructor Summary
ConstructorDescriptionCacheManager
(StoreContext ctx, StableStore stableStore, int minSize, int maxSize) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
ensure
(int pageNo) fetchAndPin
(int pageNo) void
flush()
void
flush
(List<CheckPointFinishedListener> finishedListeners) void
void
reset()
void
setForceEnsure
(boolean forceEnsure) void
shrink()
toString()
void
unpin
(int pageNo)
-
Constructor Details
-
CacheManager
public CacheManager(StoreContext ctx, StableStore stableStore, int minSize, int maxSize) throws Exception - Throws:
Exception
-
-
Method Details
-
setForceEnsure
public void setForceEnsure(boolean forceEnsure) -
ensure
- Throws:
Exception
-
createAndPin
- Throws:
Exception
-
fetchAndPin
- Throws:
Exception
-
unpin
- Throws:
Exception
-
replace
- Throws:
Exception
-
flush
- Throws:
Exception
-
flush
- Throws:
Exception
-
shrink
- Throws:
Exception
-
close
- Throws:
Exception
-
reset
- Throws:
Exception
-
toString
-