public class ConflictSetInfo extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<ICorfuSMRProxyInternal,Set<Object>> |
conflicts
Set of objects this conflict set conflicts with.
|
Constructor and Description |
---|
ConflictSetInfo() |
Modifier and Type | Method and Description |
---|---|
void |
add(ICorfuSMRProxyInternal proxy,
Object[] conflictObjects)
Add an operation into this conflict set.
|
static byte[] |
generateHashFromObject(ICorfuSMRProxyInternal p,
Object o)
Get a hash for the object, given a proxy.
|
Map<UUID,Set<byte[]>> |
getHashedConflictSet()
Get the hashed conflict set.
|
void |
mergeInto(ConflictSetInfo other)
Merge a conflict set into this conflict set.
|
protected Map<ICorfuSMRProxyInternal,Set<Object>> conflicts
public static byte[] generateHashFromObject(ICorfuSMRProxyInternal p, Object o)
public Map<UUID,Set<byte[]>> getHashedConflictSet()
public void mergeInto(ConflictSetInfo other)
other
- The conflict set to merge.public void add(ICorfuSMRProxyInternal proxy, Object[] conflictObjects)
Copyright © 2019 CorfuDB. All rights reserved.