public class PlatformServices extends PlatformAbstractTarget
FALSE, log, platformCtx, TRUE| Constructor and Description |
|---|
PlatformServices(PlatformContext platformCtx,
IgniteServices services,
boolean srvKeepPortable)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(String name)
Cancels service deployment.
|
void |
cancelAll()
Cancels all deployed services.
|
protected IgniteFuture |
currentFuture()
|
Object |
dotNetServiceProxy(String name,
boolean sticky)
Gets a remote handle on the service.
|
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.
|
PlatformServices |
withAsync()
Gets services with asynchronous mode enabled.
|
PlatformServices |
withServerKeepPortable()
Gets services with server "keep portable" mode enabled.
|
convertException, currentFutureWrapped, futureWriter, inObjectStreamOutStream, inStreamOutLong, inStreamOutObject, inStreamOutStream, listenFuture, listenFutureForOperation, outLong, outObject, outStream, platformContext, processInStreamOutObject, processOutLong, processOutObject, throwUnsupportedpublic PlatformServices(PlatformContext platformCtx, IgniteServices services, boolean srvKeepPortable)
platformCtx - Context.services - Services facade.srvKeepPortable - Server keep portable flag.public PlatformServices withAsync()
public PlatformServices withServerKeepPortable()
public void cancel(String name)
name - Name of service to cancel.public void cancelAll()
public Object dotNetServiceProxy(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 - Portable reader.IgniteCheckedException - In case of exception.protected void processInStreamOutStream(int type,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
throws IgniteCheckedException
processInStreamOutStream in class PlatformAbstractTargettype - Type.reader - Portable reader.writer - Portable 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 - Portable reader.writer - Portable writer.IgniteCheckedException - In case of exception.protected void processOutStream(int type,
BinaryRawWriterEx writer)
throws IgniteCheckedException
processOutStream in class PlatformAbstractTargettype - Type.writer - Portable writer.IgniteCheckedException - In case of exception.protected IgniteFuture currentFuture() throws IgniteCheckedException
currentFuture in class PlatformAbstractTargetIgniteCheckedException
Follow @ApacheIgnite
Ignite Fabric : ver. 1.5.0-b1 Release Date : December 1 2015