public class QueueBackedMaps extends Object implements QueueEvents
| Constructor and Description |
|---|
QueueBackedMaps() |
| Modifier and Type | Method and Description |
|---|---|
void |
$checkPoint(String name,
int hostId) |
void |
$clear(String name,
long timestamp)
Remove all entries
|
void |
$put(String name,
Object key,
Object value,
long timestamp) |
void |
$remove(String name,
Object key,
long timestamp) |
void |
addMap(String name,
QueueEvents listener) |
public void addMap(String name, QueueEvents listener)
public void $put(String name, Object key, Object value, long timestamp)
$put in interface QueueEventskey - to putvalue - to puttimestamp - last batch timestamppublic void $remove(String name, Object key, long timestamp)
$remove in interface QueueEventskey - to removetimestamp - last batch timestamppublic void $clear(String name, long timestamp)
QueueEvents$clear in interface QueueEventstimestamp - last batch timestamppublic void $checkPoint(String name, int hostId)
$checkPoint in interface QueueEventshostId - which caused the checkpointCopyright © 2020. All rights reserved.