public final class PageSubscriptionImpl.PageCursorInfo extends Object implements ConsumedPage
This instance will be released as soon as the entire page is consumed, releasing the memory at that point The ref counts are increased also when a message is ignored for any reason.
| Modifier and Type | Method and Description |
|---|---|
void |
addACK(PagePosition posACK) |
protected void |
checkDone() |
void |
decrementPendingTX() |
PageCache |
getCache() |
PagePosition |
getCompleteInfo() |
long |
getPageId() |
int |
getPendingTx() |
PageCache |
getValidCache() |
void |
incrementPendingTX() |
boolean |
isAck(PagePosition position) |
boolean |
isDone() |
boolean |
isPendingDelete() |
boolean |
isRemoved(PagePosition pos) |
void |
loadACK(PagePosition posACK) |
void |
remove(PagePosition position) |
void |
setCompleteInfo(PagePosition completePage) |
void |
setPendingDelete() |
String |
toString() |
public boolean isAck(PagePosition position)
public void setCompleteInfo(PagePosition completePage)
completePage - public PagePosition getCompleteInfo()
public boolean isDone()
isDone in interface ConsumedPagepublic boolean isPendingDelete()
public void setPendingDelete()
public long getPageId()
getPageId in interface ConsumedPagepublic void incrementPendingTX()
public void decrementPendingTX()
public boolean isRemoved(PagePosition pos)
public void remove(PagePosition position)
public void addACK(PagePosition posACK)
public void loadACK(PagePosition posACK)
protected void checkDone()
public PageCache getValidCache()
public PageCache getCache()
public int getPendingTx()
Copyright © 2025 JBoss by Red Hat. All rights reserved.