public class AntiEntropyAdvertisement<K> extends Object
| Constructor and Description |
|---|
AntiEntropyAdvertisement(org.onosproject.cluster.NodeId sender,
Map<K,org.onosproject.store.Timestamp> timestamps,
Map<K,org.onosproject.store.Timestamp> tombstones)
Creates a new anti entropy advertisement message.
|
| Modifier and Type | Method and Description |
|---|---|
org.onosproject.cluster.NodeId |
sender()
Returns the sender's node ID.
|
Map<K,org.onosproject.store.Timestamp> |
timestamps()
Returns the map of current item timestamps.
|
Map<K,org.onosproject.store.Timestamp> |
tombstones()
Returns the map of removed item timestamps.
|
String |
toString() |
public AntiEntropyAdvertisement(org.onosproject.cluster.NodeId sender,
Map<K,org.onosproject.store.Timestamp> timestamps,
Map<K,org.onosproject.store.Timestamp> tombstones)
sender - the sender's node IDtimestamps - map of item key to timestamp for current itemstombstones - map of item key to timestamp for removed itemspublic org.onosproject.cluster.NodeId sender()
public Map<K,org.onosproject.store.Timestamp> timestamps()
public Map<K,org.onosproject.store.Timestamp> tombstones()
Copyright © 2015. All rights reserved.