Interface PlatformProcessor
-
- All Superinterfaces:
GridComponent,GridProcessor
- All Known Implementing Classes:
PlatformNoopProcessor,PlatformProcessorImpl
public interface PlatformProcessor extends GridProcessor
Platform processor.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.ignite.internal.GridComponent
GridComponent.DiscoveryDataExchangeType
-
-
Method Summary
All Methods Instance Methods Abstract 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 whethercontext()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 interface org.apache.ignite.internal.GridComponent
collectGridNodeData, collectJoiningNodeData, discoveryDataType, onDisconnected, onGridDataReceived, onJoiningNodeDataReceived, onKernalStart, onKernalStop, onReconnected, printMemoryStats, start, stop, validateNode, validateNode
-
-
-
-
Method Detail
-
ignite
Ignite ignite()
Gets owning Ignite instance.- Returns:
- Ignite instance.
-
environmentPointer
long environmentPointer()
Get environment pointer associated with this processor.- Returns:
- Environment pointer.
-
context
PlatformContext context()
Gets platform context.- Returns:
- Platform context.
-
hasContext
boolean hasContext()
Returns a value indicating whethercontext()is available.- Returns:
- value indicating whether
context()is available.
-
releaseStart
void releaseStart()
Notify processor that it is safe to use.
-
awaitStart
void awaitStart() throws IgniteCheckedExceptionAwait until platform processor is safe to use (i.e.has been called.- Throws:
IgniteCheckedException- If failed.
-
registerStore
void registerStore(PlatformCacheStore store, boolean convertBinary) throws IgniteCheckedException
Register cache store.- Parameters:
store- Store.convertBinary- Convert binary flag.- Throws:
IgniteCheckedException- If failed.
-
cacheManager
PlatformCacheManager cacheManager()
Gets the cache manager.- Returns:
- Cache manager.
-
setThreadLocal
void setThreadLocal(Object value)
Sets thread local value for platform.- Parameters:
value- Value.
-
-