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) |
net.openhft.chronicle.wire.DocumentContext |
writingDocument() |
public void addMap(String name, QueueEvents listener)
public net.openhft.chronicle.wire.DocumentContext writingDocument()
writingDocument
in interface net.openhft.chronicle.wire.MethodWriterWithContext
public void $put(String name, Object key, Object value, long timestamp)
$put
in interface QueueEvents
key
- to putvalue
- to puttimestamp
- last batch timestamppublic void $remove(String name, Object key, long timestamp)
$remove
in interface QueueEvents
key
- to removetimestamp
- last batch timestamppublic void $clear(String name, long timestamp)
QueueEvents
$clear
in interface QueueEvents
timestamp
- last batch timestamppublic void $checkPoint(String name, int hostId)
$checkPoint
in interface QueueEvents
hostId
- which caused the checkpointCopyright © 2020. All rights reserved.