public class PlatformTransactions extends PlatformAbstractTarget
Modifier and Type | Field and Description |
---|---|
static int |
OP_CACHE_CONFIG_PARAMETERS |
static int |
OP_CLOSE |
static int |
OP_COMMIT |
static int |
OP_COMMIT_ASYNC |
static int |
OP_LOCAL_ACTIVE_REMOVE |
static int |
OP_LOCAL_ACTIVE_TX |
static int |
OP_METRICS |
static int |
OP_PREPARE |
static int |
OP_RESET_METRICS |
static int |
OP_ROLLBACK |
static int |
OP_ROLLBACK_ASYNC |
static int |
OP_SET_ROLLBACK_ONLY |
static int |
OP_START |
static int |
OP_STATE |
ERROR, FALSE, log, platformCtx, TRUE
Constructor and Description |
---|
PlatformTransactions(PlatformContext platformCtx)
Constructor.
|
PlatformTransactions(PlatformContext platformCtx,
String lbl)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
processInLongOutLong(int type,
long val)
Process IN operation.
|
long |
processInStreamOutLong(int type,
BinaryRawReaderEx reader)
Process IN operation.
|
void |
processInStreamOutStream(int type,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
Process IN-OUT operation.
|
void |
processOutStream(int type,
BinaryRawWriterEx writer)
Process OUT operation.
|
convertException, platformContext, processInObjectStreamOutObjectStream, processInStreamAsync, processInStreamOutLong, processInStreamOutObject, processOutObject, readAndListenFuture, readAndListenFuture, readAndListenFuture, throwUnsupported, wrapListenable
public static final int OP_CACHE_CONFIG_PARAMETERS
public static final int OP_METRICS
public static final int OP_START
public static final int OP_COMMIT
public static final int OP_ROLLBACK
public static final int OP_CLOSE
public static final int OP_STATE
public static final int OP_SET_ROLLBACK_ONLY
public static final int OP_COMMIT_ASYNC
public static final int OP_ROLLBACK_ASYNC
public static final int OP_RESET_METRICS
public static final int OP_PREPARE
public static final int OP_LOCAL_ACTIVE_TX
public static final int OP_LOCAL_ACTIVE_REMOVE
public PlatformTransactions(PlatformContext platformCtx)
platformCtx
- Context.public PlatformTransactions(PlatformContext platformCtx, String lbl)
platformCtx
- Context.lbl
- Label.public long processInLongOutLong(int type, long val) throws IgniteCheckedException
processInLongOutLong
in interface PlatformTarget
processInLongOutLong
in class PlatformAbstractTarget
type
- Type.val
- Value.IgniteCheckedException
- In case of exception.public long processInStreamOutLong(int type, BinaryRawReaderEx reader) throws IgniteCheckedException
processInStreamOutLong
in interface PlatformTarget
processInStreamOutLong
in class PlatformAbstractTarget
type
- Type.reader
- Binary reader.IgniteCheckedException
- In case of exception.public void processInStreamOutStream(int type, BinaryRawReaderEx reader, BinaryRawWriterEx writer) throws IgniteCheckedException
processInStreamOutStream
in interface PlatformTarget
processInStreamOutStream
in class PlatformAbstractTarget
type
- Type.reader
- Binary reader.writer
- Binary writer.IgniteCheckedException
- In case of exception.public void processOutStream(int type, BinaryRawWriterEx writer) throws IgniteCheckedException
processOutStream
in interface PlatformTarget
processOutStream
in class PlatformAbstractTarget
type
- Type.writer
- Binary writer.IgniteCheckedException
- In case of exception.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021