public class PlatformTargetProxyImpl extends Object implements PlatformTargetProxy
PlatformTarget.| Modifier and Type | Field and Description |
|---|---|
protected PlatformContext |
platformCtx
Context.
|
| Constructor and Description |
|---|
PlatformTargetProxyImpl(PlatformTarget target,
PlatformContext platformCtx) |
| Modifier and Type | Method and Description |
|---|---|
long |
inLongOutLong(int type,
long val)
Operation accepting long value and returning long value.
|
Object |
inObjectStreamOutObjectStream(int type,
Object arg,
long inMemPtr,
long outMemPtr)
Operation accepting an object and a memory stream and returning result to another memory stream and an object.
|
void |
inStreamAsync(int type,
long memPtr)
Asynchronous operation accepting memory stream.
|
long |
inStreamOutLong(int type,
long memPtr)
Operation accepting memory stream and returning long value.
|
Object |
inStreamOutObject(int type,
long memPtr)
Operation accepting memory stream and returning object.
|
Object |
inStreamOutObjectAsync(int type,
long memPtr)
Asynchronous operation accepting memory stream and returning PlatformListenableTarget.
|
void |
inStreamOutStream(int type,
long inMemPtr,
long outMemPtr)
Operation accepting one memory stream and returning result to another memory stream.
|
Object |
outObject(int type)
Operation returning object result.
|
void |
outStream(int type,
long memPtr)
Operation returning result to memory stream.
|
PlatformTarget |
unwrap()
Returns the underlying target.
|
protected final PlatformContext platformCtx
public PlatformTargetProxyImpl(PlatformTarget target, PlatformContext platformCtx)
target - Platform target.platformCtx - Platform context.public long inLongOutLong(int type,
long val)
throws Exception
inLongOutLong in interface PlatformTargetProxytype - Operation type.val - Value.Exception - If case of failure.public long inStreamOutLong(int type,
long memPtr)
throws Exception
inStreamOutLong in interface PlatformTargetProxytype - Operation type.memPtr - Memory pointer.Exception - If case of failure.public Object inStreamOutObject(int type, long memPtr) throws Exception
inStreamOutObject in interface PlatformTargetProxytype - Operation type.memPtr - Memory pointer.Exception - If case of failure.public void outStream(int type,
long memPtr)
throws Exception
outStream in interface PlatformTargetProxytype - Operation type.memPtr - Memory pointer.Exception - In case of failure.public Object outObject(int type) throws Exception
outObject in interface PlatformTargetProxytype - Operation type.Exception - If failed.public void inStreamAsync(int type,
long memPtr)
throws Exception
inStreamAsync in interface PlatformTargetProxytype - Operation type.memPtr - Memory pointer.Exception - If case of failure.public Object inStreamOutObjectAsync(int type, long memPtr) throws Exception
inStreamOutObjectAsync in interface PlatformTargetProxytype - Operation type.memPtr - Memory pointer.Exception - If case of failure.public void inStreamOutStream(int type,
long inMemPtr,
long outMemPtr)
throws Exception
inStreamOutStream in interface PlatformTargetProxytype - Operation type.inMemPtr - Input memory pointer.outMemPtr - Output memory pointer.Exception - In case of failure.public Object inObjectStreamOutObjectStream(int type, Object arg, long inMemPtr, long outMemPtr) throws Exception
inObjectStreamOutObjectStream in interface PlatformTargetProxytype - Operation type.arg - Argument (optional).inMemPtr - Input memory pointer.outMemPtr - Output memory pointer.Exception - In case of failure.public PlatformTarget unwrap()
unwrap in interface PlatformTargetProxy
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019