Class CacheManager
java.lang.Object
com.swiftmq.impl.store.standard.cache.CacheManager
-
Constructor Summary
ConstructorsConstructorDescriptionCacheManager(StoreContext ctx, StableStore stableStore, int minSize, int maxSize) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidensure(int pageNo) fetchAndPin(int pageNo) voidflush()voidflush(List<CheckPointFinishedListener> finishedListeners) voidvoidreset()voidsetForceEnsure(boolean forceEnsure) voidshrink()toString()voidunpin(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
-