public final class CollectionTxnUtil extends Object
Modifier and Type | Method and Description |
---|---|
static void |
after(List<Operation> operationList) |
static void |
before(List<Operation> operationList,
Operation wrapper) |
static long |
getItemId(CollectionTxnOperation operation) |
static boolean |
isRemove(long itemId) |
static List<Operation> |
read(ObjectDataInput in) |
static List<Operation> |
run(List<Operation> operationList) |
static void |
write(ObjectDataOutput out,
List<Operation> operationList) |
public static long getItemId(CollectionTxnOperation operation)
operation
- public static boolean isRemove(long itemId)
itemId
- public static void before(List<Operation> operationList, Operation wrapper) throws Exception
Exception
public static List<Operation> run(List<Operation> operationList) throws Exception
Exception
public static void write(ObjectDataOutput out, List<Operation> operationList) throws IOException
IOException
public static List<Operation> read(ObjectDataInput in) throws IOException
IOException
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.