public class PlatformServices extends PlatformAbstractTarget
FALSE, log, platformCtx, TRUE| Constructor and Description |
|---|
PlatformServices(PlatformContext platformCtx,
IgniteServices services,
boolean srvKeepBinary)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(String name)
Cancels service deployment.
|
void |
cancelAll()
Cancels all deployed services.
|
protected IgniteInternalFuture |
currentFuture()
|
protected void |
processInObjectStreamOutStream(int type,
Object arg,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
Process IN-OUT operation.
|
protected long |
processInStreamOutLong(int type,
BinaryRawReaderEx reader)
Process IN operation.
|
protected void |
processInStreamOutStream(int type,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
Process IN-OUT operation.
|
protected void |
processOutStream(int type,
BinaryRawWriterEx writer)
Process OUT operation.
|
Object |
serviceProxy(String name,
boolean sticky)
Gets a remote handle on the service.
|
PlatformServices |
withAsync()
Gets services with asynchronous mode enabled.
|
PlatformServices |
withServerKeepBinary()
Gets services with server "keep binary" mode enabled.
|
convertException, futureWriter, inObjectStreamOutStream, inStreamOutLong, inStreamOutObject, inStreamOutStream, listenFuture, listenFutureAndGet, listenFutureForOperation, listenFutureForOperationAndGet, outLong, outObject, outStream, platformContext, processInStreamOutObject, processOutLong, processOutObject, throwUnsupportedpublic PlatformServices(PlatformContext platformCtx, IgniteServices services, boolean srvKeepBinary)
platformCtx - Context.services - Services facade.srvKeepBinary - Server keep binary flag.public PlatformServices withAsync()
public PlatformServices withServerKeepBinary()
public void cancel(String name)
name - Name of service to cancel.public void cancelAll()
public Object serviceProxy(String name, boolean sticky)
name - Service name.sticky - Whether or not Ignite should always contact the same remote service.protected long processInStreamOutLong(int type,
BinaryRawReaderEx reader)
throws IgniteCheckedException
processInStreamOutLong in class PlatformAbstractTargettype - Type.reader - Binary reader.IgniteCheckedException - In case of exception.protected void processInStreamOutStream(int type,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
throws IgniteCheckedException
processInStreamOutStream in class PlatformAbstractTargettype - Type.reader - Binary reader.writer - Binary writer.IgniteCheckedException - In case of exception.protected void processInObjectStreamOutStream(int type,
Object arg,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
throws IgniteCheckedException
processInObjectStreamOutStream in class PlatformAbstractTargettype - Type.arg - Argument.reader - Binary reader.writer - Binary writer.IgniteCheckedException - In case of exception.protected void processOutStream(int type,
BinaryRawWriterEx writer)
throws IgniteCheckedException
processOutStream in class PlatformAbstractTargettype - Type.writer - Binary writer.IgniteCheckedException - In case of exception.protected IgniteInternalFuture currentFuture() throws IgniteCheckedException
currentFuture in class PlatformAbstractTargetIgniteCheckedException
Follow @ApacheIgnite
Ignite Fabric : ver. 1.6.0 Release Date : May 18 2016