public class TableSerialExpirationBacklog extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
defaultSize
Default size of expiration table.
|
| Constructor and Description |
|---|
TableSerialExpirationBacklog()
Creates a backlog with a default size.
|
TableSerialExpirationBacklog(int size)
Creates a backlog.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addExpiration(long minSerial,
long maxSerial,
List<IdSerialTuple> idSerTuples)
Adds an expiration set to the backlog.
|
List<IdSerialTuple> |
getExpiration(long minSerial,
long maxSerial)
Gets the expiration backlog for a given range of tableserials.
|
public TableSerialExpirationBacklog(int size)
size - the size of the backlogpublic TableSerialExpirationBacklog()
public void addExpiration(long minSerial,
long maxSerial,
List<IdSerialTuple> idSerTuples)
minSerial - the lower serial bound of the query (minSerial < tableSerial)maxSerial - the upper serial bound of the query (tableSerial ≤ maxSerial)idSerTuples - the expiration info as pairs of id/tableserial.public List<IdSerialTuple> getExpiration(long minSerial, long maxSerial)
minSerial - the lower serial bound of the query (minSerial < tableSerial)maxSerial - the upper serial bound of the query (tableSerial ≤ maxSerial)Copyright © 2016 Krake Softwaretechnik. All rights reserved.