Interface PageSubscriptionCounter
-
- All Known Implementing Classes:
PageSubscriptionCounterImpl
public interface PageSubscriptionCounter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapplyIncrementOnTX(Transaction tx, long recordID, int add, long persistentSize)voidcleanupNonTXCounters(long pageID)voiddelete()voiddelete(Transaction tx)longgetPersistentSize()longgetPersistentSizeAdded()longgetValue()longgetValueAdded()voidincrement(Transaction tx, int add, long persistentSize)voidloadInc(long recordInd, int add, long persistentSize)voidloadValue(long recordValueID, long value, long persistentSize)voidpendingCounter(Page page, int increment, long persistentSize)voidprocessReload()This will process the reload
-
-
-
Method Detail
-
getValueAdded
long getValueAdded()
-
getValue
long getValue()
-
getPersistentSizeAdded
long getPersistentSizeAdded()
-
getPersistentSize
long getPersistentSize()
-
increment
void increment(Transaction tx, int add, long persistentSize) throws Exception
- Throws:
Exception
-
loadValue
void loadValue(long recordValueID, long value, long persistentSize)
-
loadInc
void loadInc(long recordInd, int add, long persistentSize)
-
applyIncrementOnTX
void applyIncrementOnTX(Transaction tx, long recordID, int add, long persistentSize)
-
processReload
void processReload()
This will process the reload
-
pendingCounter
void pendingCounter(Page page, int increment, long persistentSize) throws Exception
- Throws:
Exception
-
delete
void delete(Transaction tx) throws Exception
- Throws:
Exception
-
-