Class PlatformNoopProcessor
- java.lang.Object
-
- org.apache.ignite.internal.processors.GridProcessorAdapter
-
- org.apache.ignite.internal.processors.platform.PlatformNoopProcessor
-
- All Implemented Interfaces:
GridComponent,GridProcessor,PlatformProcessor
public class PlatformNoopProcessor extends GridProcessorAdapter implements PlatformProcessor
No-op processor.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.ignite.internal.GridComponent
GridComponent.DiscoveryDataExchangeType
-
-
Field Summary
-
Fields inherited from class org.apache.ignite.internal.processors.GridProcessorAdapter
ctx, diagnosticLog, log
-
-
Constructor Summary
Constructors Constructor Description PlatformNoopProcessor(GridKernalContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidawaitStart()Await until platform processor is safe to use (i.e.PlatformCacheManagercacheManager()Gets the cache manager.PlatformContextcontext()Gets platform context.longenvironmentPointer()Get environment pointer associated with this processor.booleanhasContext()Returns a value indicating whetherPlatformProcessor.context()is available.Igniteignite()Gets owning Ignite instance.voidregisterStore(PlatformCacheStore store, boolean convertBinary)Register cache store.voidreleaseStart()Notify processor that it is safe to use.voidsetThreadLocal(Object value)Sets thread local value for platform.-
Methods inherited from class org.apache.ignite.internal.processors.GridProcessorAdapter
assertParameter, collectGridNodeData, collectJoiningNodeData, discoveryDataType, onDisconnected, onGridDataReceived, onJoiningNodeDataReceived, onKernalStart, onKernalStop, onReconnected, printMemoryStats, start, stop, toString, validateNode, validateNode
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.ignite.internal.GridComponent
collectGridNodeData, collectJoiningNodeData, discoveryDataType, onDisconnected, onGridDataReceived, onJoiningNodeDataReceived, onKernalStart, onKernalStop, onReconnected, printMemoryStats, start, stop, validateNode, validateNode
-
-
-
-
Constructor Detail
-
PlatformNoopProcessor
public PlatformNoopProcessor(GridKernalContext ctx)
-
-
Method Detail
-
ignite
public Ignite ignite()
Gets owning Ignite instance.- Specified by:
ignitein interfacePlatformProcessor- Returns:
- Ignite instance.
-
environmentPointer
public long environmentPointer()
Get environment pointer associated with this processor.- Specified by:
environmentPointerin interfacePlatformProcessor- Returns:
- Environment pointer.
-
context
public PlatformContext context()
Gets platform context.- Specified by:
contextin interfacePlatformProcessor- Returns:
- Platform context.
-
hasContext
public boolean hasContext()
Returns a value indicating whetherPlatformProcessor.context()is available.- Specified by:
hasContextin interfacePlatformProcessor- Returns:
- value indicating whether
PlatformProcessor.context()is available.
-
releaseStart
public void releaseStart()
Notify processor that it is safe to use.- Specified by:
releaseStartin interfacePlatformProcessor
-
awaitStart
public void awaitStart() throws IgniteCheckedExceptionAwait until platform processor is safe to use (i.e.has been called.- Specified by:
awaitStartin interfacePlatformProcessor- Throws:
IgniteCheckedException- If failed.
-
registerStore
public void registerStore(PlatformCacheStore store, boolean convertBinary) throws IgniteCheckedException
Register cache store.- Specified by:
registerStorein interfacePlatformProcessor- Parameters:
store- Store.convertBinary- Convert binary flag.- Throws:
IgniteCheckedException- If failed.
-
cacheManager
public PlatformCacheManager cacheManager()
Gets the cache manager.- Specified by:
cacheManagerin interfacePlatformProcessor- Returns:
- Cache manager.
-
setThreadLocal
public void setThreadLocal(Object value)
Sets thread local value for platform.- Specified by:
setThreadLocalin interfacePlatformProcessor- Parameters:
value- Value.
-
-