public interface PlatformProcessor extends GridProcessor
GridComponent.DiscoveryDataExchangeType| Modifier and Type | Method and Description |
|---|---|
PlatformTargetProxy |
affinity(String name)
Get affinity.
|
PlatformTargetProxy |
atomicLong(String name,
long initVal,
boolean create)
Get or create AtomicLong.
|
PlatformTargetProxy |
atomicReference(String name,
long memPtr,
boolean create)
Get or create AtomicReference.
|
PlatformTargetProxy |
atomicSequence(String name,
long initVal,
boolean create)
Get or create AtomicSequence.
|
void |
awaitStart()
Await until platform processor is safe to use (i.e.
|
PlatformTargetProxy |
binaryProcessor()
Gets the binary processor.
|
PlatformTargetProxy |
cache(String name)
Get cache.
|
PlatformTargetProxy |
compute(PlatformTargetProxy grp)
Create interop compute.
|
PlatformContext |
context()
Gets platform context.
|
PlatformTargetProxy |
createCache(String name)
Create cache.
|
PlatformTargetProxy |
createCacheFromConfig(long memPtr)
Create cache.
|
PlatformTargetProxy |
createNearCache(String cacheName,
long memPtr)
Starts a near cache on local node if cache was previously started.
|
PlatformTargetProxy |
dataStreamer(String cacheName,
boolean keepBinary)
Get data streamer.
|
void |
destroyCache(String name)
Destroy dynamically created cache.
|
long |
environmentPointer()
Get environment pointer associated with this processor.
|
PlatformTargetProxy |
events(PlatformTargetProxy grp)
Create interop events.
|
PlatformTargetProxy |
extension(int id)
Gets platform extension by id.
|
PlatformTargetProxy |
extensions()
Get platform extensions.
|
void |
getCacheNames(long memPtr)
Gets the cache names.
|
void |
getIgniteConfiguration(long memPtr)
Gets the configuration of the current Ignite instance.
|
PlatformTargetProxy |
getOrCreateCache(String name)
Get or create cache.
|
PlatformTargetProxy |
getOrCreateCacheFromConfig(long memPtr)
Get or create cache.
|
PlatformTargetProxy |
getOrCreateNearCache(String cacheName,
long memPtr)
Gets existing near cache with the given name or creates a new one.
|
Ignite |
ignite()
Gets owning Ignite instance.
|
boolean |
loggerIsLevelEnabled(int level)
Gets a value indicating whether Ignite logger has specified level enabled.
|
void |
loggerLog(int level,
String message,
String category,
String errorInfo)
Logs to the Ignite logger.
|
PlatformTargetProxy |
message(PlatformTargetProxy grp)
Create interop messaging.
|
PlatformTargetProxy |
projection()
Get projection.
|
void |
registerStore(PlatformCacheStore store,
boolean convertBinary)
Register cache store.
|
void |
releaseStart()
Notify processor that it is safe to use.
|
PlatformTargetProxy |
services(PlatformTargetProxy grp)
Create interop services.
|
PlatformTargetProxy |
transactions()
Get transactions.
|
collectGridNodeData, collectJoiningNodeData, discoveryDataType, onDisconnected, onGridDataReceived, onJoiningNodeDataReceived, onKernalStart, onKernalStop, onReconnected, printMemoryStats, start, stop, validateNodeIgnite ignite()
long environmentPointer()
PlatformContext context()
void releaseStart()
void awaitStart()
throws IgniteCheckedException
has been called.IgniteCheckedException - If failed.PlatformTargetProxy cache(@Nullable String name) throws IgniteCheckedException
name - Cache name.IgniteCheckedException - If failed.PlatformTargetProxy createCache(@Nullable String name) throws IgniteCheckedException
name - Cache name.IgniteCheckedException - If failed.PlatformTargetProxy getOrCreateCache(@Nullable String name) throws IgniteCheckedException
name - Cache name.IgniteCheckedException - If failed.PlatformTargetProxy createCacheFromConfig(long memPtr) throws IgniteCheckedException
memPtr - Stream with cache config.IgniteCheckedException - If failed.PlatformTargetProxy getOrCreateCacheFromConfig(long memPtr) throws IgniteCheckedException
memPtr - Stream with cache config.IgniteCheckedException - If failed.void destroyCache(@Nullable
String name)
throws IgniteCheckedException
name - Cache name.IgniteCheckedException - If failed.PlatformTargetProxy affinity(@Nullable String name) throws IgniteCheckedException
name - Cache name.IgniteCheckedException - If failed.PlatformTargetProxy dataStreamer(@Nullable String cacheName, boolean keepBinary) throws IgniteCheckedException
cacheName - Cache name.keepBinary - Binary flag.IgniteCheckedException - If failed.PlatformTargetProxy transactions()
PlatformTargetProxy projection() throws IgniteCheckedException
IgniteCheckedException - If failed.PlatformTargetProxy compute(PlatformTargetProxy grp)
grp - Cluster group.PlatformTargetProxy message(PlatformTargetProxy grp)
grp - Cluster group.PlatformTargetProxy events(PlatformTargetProxy grp)
grp - Cluster group.PlatformTargetProxy services(PlatformTargetProxy grp)
grp - Cluster group.PlatformTargetProxy extensions()
PlatformTargetProxy extension(int id)
void registerStore(PlatformCacheStore store, boolean convertBinary) throws IgniteCheckedException
store - Store.convertBinary - Convert binary flag.IgniteCheckedException - If failed.PlatformTargetProxy atomicLong(String name, long initVal, boolean create)
name - Name.initVal - Initial value.create - Create flag.PlatformTargetProxy atomicSequence(String name, long initVal, boolean create)
name - Name.initVal - Initial value.create - Create flag.PlatformTargetProxy atomicReference(String name, long memPtr, boolean create)
name - Name.memPtr - Pointer to a stream with initial value. 0 for null initial value.create - Create flag.void getIgniteConfiguration(long memPtr)
memPtr - Stream to write data to.void getCacheNames(long memPtr)
memPtr - Stream to write data to.PlatformTargetProxy createNearCache(@Nullable String cacheName, long memPtr)
cacheName - Cache name.memPtr - Pointer to a stream with near cache config. 0 for default config.PlatformTargetProxy getOrCreateNearCache(@Nullable String cacheName, long memPtr)
cacheName - Cache name.memPtr - Pointer to a stream with near cache config. 0 for default config.boolean loggerIsLevelEnabled(int level)
level - Log level.void loggerLog(int level,
String message,
String category,
String errorInfo)
level - Log level.message - Message.category - Category.errorInfo - Error info.PlatformTargetProxy binaryProcessor()
Follow @ApacheIgnite
Ignite Fabric : ver. 2.1.0 Release Date : July 20 2017