public class CausalKernel extends Object
| Modifier and Type | Field and Description |
|---|---|
protected CausalContext |
ctx |
protected Map<Timestamp,SerializableType> |
dotStore |
static pt.unl.fct.di.novasys.network.ISerializer<CausalKernel> |
serializer |
| Constructor and Description |
|---|
CausalKernel(CausalContext c) |
CausalKernel(ReplicaID replicaID) |
| Modifier and Type | Method and Description |
|---|---|
CausalKernel |
add(ReplicaID replicaID,
SerializableType value) |
Timestamp |
addDot(ReplicaID replicaID,
SerializableType value) |
CausalKernel |
copy() |
CausalContext |
getCausalContext() |
Iterator<Timestamp> |
getDots() |
Iterator<Map.Entry<Timestamp,SerializableType>> |
getDotStore() |
int |
getDotStoreSize() |
Iterator<SerializableType> |
getValues() |
void |
merge(CausalKernel otherKernel) |
CausalKernel |
removeAll() |
CausalKernel |
removeDot(Timestamp dot) |
CausalKernel |
removeWithValue(SerializableType valueRem) |
protected Map<Timestamp,SerializableType> dotStore
protected CausalContext ctx
public static pt.unl.fct.di.novasys.network.ISerializer<CausalKernel> serializer
public CausalKernel(ReplicaID replicaID)
public CausalKernel(CausalContext c)
public CausalContext getCausalContext()
public int getDotStoreSize()
public Iterator<Map.Entry<Timestamp,SerializableType>> getDotStore()
public Iterator<SerializableType> getValues()
public CausalKernel copy()
public void merge(CausalKernel otherKernel)
public CausalKernel add(ReplicaID replicaID, SerializableType value)
public Timestamp addDot(ReplicaID replicaID, SerializableType value)
public CausalKernel removeDot(Timestamp dot)
public CausalKernel removeWithValue(SerializableType valueRem)
public CausalKernel removeAll()
Copyright © 2024. All rights reserved.