public interface PageSubscriptionCounter
Modifier and Type | Method and Description |
---|---|
void |
addInc(long id,
int variance,
long size) |
void |
applyIncrementOnTX(Transaction tx,
long recordID,
int add,
long persistentSize) |
void |
cleanupNonTXCounters(long pageID) |
void |
delete() |
void |
delete(Transaction tx) |
long |
getPersistentSize() |
long |
getPersistentSizeAdded() |
long |
getValue() |
long |
getValueAdded() |
void |
increment(Transaction tx,
int add,
long persistentSize) |
void |
loadInc(long recordInd,
int add,
long persistentSize) |
void |
loadValue(long recordValueID,
long value,
long persistentSize) |
void |
pendingCounter(Page page,
int increment,
long persistentSize) |
void |
processReload()
This will process the reload
|
long getValueAdded()
long getValue()
long getPersistentSizeAdded()
long getPersistentSize()
void increment(Transaction tx, int add, long persistentSize) throws Exception
Exception
void loadValue(long recordValueID, long value, long persistentSize)
void loadInc(long recordInd, int add, long persistentSize)
void applyIncrementOnTX(Transaction tx, long recordID, int add, long persistentSize)
void processReload()
void addInc(long id, int variance, long size)
id
- variance
- void pendingCounter(Page page, int increment, long persistentSize) throws Exception
Exception
void delete(Transaction tx) throws Exception
Exception
Copyright © 2021 JBoss by Red Hat. All rights reserved.