public enum OperationType extends Enum<OperationType>
| Enum Constant and Description |
|---|
CACHE_GET
Cache get.
|
CACHE_GET_ALL
Cache get all.
|
CACHE_GET_AND_PUT
Cache get and put.
|
CACHE_GET_AND_REMOVE
Cache get and remove.
|
CACHE_INVOKE
Cache invoke.
|
CACHE_INVOKE_ALL
Cache invoke all.
|
CACHE_LOCK
Cache lock.
|
CACHE_PUT
Cache put.
|
CACHE_PUT_ALL
Cache put all.
|
CACHE_REMOVE
Cache remove.
|
CACHE_REMOVE_ALL
Cache remove all.
|
CACHE_START
Cache start.
|
CHECKPOINT
Checkpoint.
|
JOB
Job.
|
PAGES_WRITE_THROTTLE
Pages write throttle.
|
QUERY
Query.
|
QUERY_READS
Query reads.
|
TASK
Task.
|
TX_COMMIT
Transaction commit.
|
TX_ROLLBACK
Transaction rollback.
|
| Modifier and Type | Field and Description |
|---|---|
static EnumSet<OperationType> |
CACHE_OPS
Cache operations.
|
static EnumSet<OperationType> |
TX_OPS
Transaction operations.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
cacheOperation(OperationType op) |
static int |
cacheRecordSize() |
static int |
cacheStartRecordSize(int nameLen,
boolean cached) |
static int |
checkpointRecordSize() |
byte |
id() |
static int |
jobRecordSize() |
static @Nullable OperationType |
of(byte id) |
static int |
pagesWriteThrottleRecordSize() |
static int |
queryReadsRecordSize() |
static int |
queryRecordSize(int textLen,
boolean cached) |
static int |
taskRecordSize(int nameLen,
boolean cached) |
static boolean |
transactionOperation(OperationType op) |
static int |
transactionRecordSize(int cachesIdsCnt) |
static OperationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationType CACHE_GET
public static final OperationType CACHE_PUT
public static final OperationType CACHE_REMOVE
public static final OperationType CACHE_GET_AND_PUT
public static final OperationType CACHE_GET_AND_REMOVE
public static final OperationType CACHE_INVOKE
public static final OperationType CACHE_LOCK
public static final OperationType CACHE_GET_ALL
public static final OperationType CACHE_PUT_ALL
public static final OperationType CACHE_REMOVE_ALL
public static final OperationType CACHE_INVOKE_ALL
public static final OperationType TX_COMMIT
public static final OperationType TX_ROLLBACK
public static final OperationType QUERY
public static final OperationType QUERY_READS
public static final OperationType TASK
public static final OperationType JOB
public static final OperationType CACHE_START
public static final OperationType CHECKPOINT
public static final OperationType PAGES_WRITE_THROTTLE
public static final EnumSet<OperationType> CACHE_OPS
public static final EnumSet<OperationType> TX_OPS
public static OperationType[] values()
for (OperationType c : OperationType.values()) System.out.println(c);
public static OperationType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic byte id()
@Nullable public static @Nullable OperationType of(byte id)
public static boolean cacheOperation(OperationType op)
True if cache operation.public static boolean transactionOperation(OperationType op)
True if transaction operation.public static int cacheStartRecordSize(int nameLen,
boolean cached)
nameLen - Cache name length.cached - True if cache name cached.public static int cacheRecordSize()
public static int transactionRecordSize(int cachesIdsCnt)
cachesIdsCnt - Cache identifiers size.public static int queryRecordSize(int textLen,
boolean cached)
textLen - Query text length.cached - True if query text cached.public static int queryReadsRecordSize()
public static int taskRecordSize(int nameLen,
boolean cached)
nameLen - Task name length.cached - True if task name cached.public static int jobRecordSize()
public static int checkpointRecordSize()
public static int pagesWriteThrottleRecordSize()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021