public class PlatformNoopProcessor extends GridProcessorAdapter implements PlatformProcessor
GridComponent.DiscoveryDataExchangeTypectx, log| Constructor and Description |
|---|
PlatformNoopProcessor(GridKernalContext ctx) |
| 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.
|
assertParameter, collectGridNodeData, collectJoiningNodeData, discoveryDataType, onDisconnected, onGridDataReceived, onJoiningNodeDataReceived, onKernalStart, onKernalStop, onReconnected, printMemoryStats, start, stop, toString, validateNodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcollectGridNodeData, collectJoiningNodeData, discoveryDataType, onDisconnected, onGridDataReceived, onJoiningNodeDataReceived, onKernalStart, onKernalStop, onReconnected, printMemoryStats, start, stop, validateNodepublic PlatformNoopProcessor(GridKernalContext ctx)
public Ignite ignite()
ignite in interface PlatformProcessorpublic long environmentPointer()
environmentPointer in interface PlatformProcessorpublic PlatformContext context()
context in interface PlatformProcessorpublic void releaseStart()
releaseStart in interface PlatformProcessorpublic void awaitStart()
throws IgniteCheckedException
has been called.awaitStart in interface PlatformProcessorIgniteCheckedException - If failed.public PlatformTargetProxy cache(@Nullable String name) throws IgniteCheckedException
cache in interface PlatformProcessorname - Cache name.IgniteCheckedException - If failed.public PlatformTargetProxy createCache(@Nullable String name) throws IgniteCheckedException
createCache in interface PlatformProcessorname - Cache name.IgniteCheckedException - If failed.public PlatformTargetProxy getOrCreateCache(@Nullable String name) throws IgniteCheckedException
getOrCreateCache in interface PlatformProcessorname - Cache name.IgniteCheckedException - If failed.public PlatformTargetProxy createCacheFromConfig(long memPtr) throws IgniteCheckedException
createCacheFromConfig in interface PlatformProcessormemPtr - Stream with cache config.IgniteCheckedException - If failed.public PlatformTargetProxy getOrCreateCacheFromConfig(long memPtr) throws IgniteCheckedException
getOrCreateCacheFromConfig in interface PlatformProcessormemPtr - Stream with cache config.IgniteCheckedException - If failed.public void destroyCache(@Nullable
String name)
throws IgniteCheckedException
destroyCache in interface PlatformProcessorname - Cache name.IgniteCheckedException - If failed.public PlatformTargetProxy affinity(@Nullable String name) throws IgniteCheckedException
affinity in interface PlatformProcessorname - Cache name.IgniteCheckedException - If failed.public PlatformTargetProxy dataStreamer(@Nullable String cacheName, boolean keepBinary) throws IgniteCheckedException
dataStreamer in interface PlatformProcessorcacheName - Cache name.keepBinary - Binary flag.IgniteCheckedException - If failed.public PlatformTargetProxy transactions()
transactions in interface PlatformProcessorpublic PlatformTargetProxy projection() throws IgniteCheckedException
projection in interface PlatformProcessorIgniteCheckedException - If failed.public PlatformTargetProxy compute(PlatformTargetProxy grp)
compute in interface PlatformProcessorgrp - Cluster group.public PlatformTargetProxy message(PlatformTargetProxy grp)
message in interface PlatformProcessorgrp - Cluster group.public PlatformTargetProxy events(PlatformTargetProxy grp)
events in interface PlatformProcessorgrp - Cluster group.public PlatformTargetProxy services(PlatformTargetProxy grp)
services in interface PlatformProcessorgrp - Cluster group.public PlatformTargetProxy extensions()
extensions in interface PlatformProcessorpublic PlatformTargetProxy extension(int id)
extension in interface PlatformProcessorpublic void registerStore(PlatformCacheStore store, boolean convertBinary) throws IgniteCheckedException
registerStore in interface PlatformProcessorstore - Store.convertBinary - Convert binary flag.IgniteCheckedException - If failed.public PlatformTargetProxy atomicLong(String name, long initVal, boolean create) throws IgniteException
atomicLong in interface PlatformProcessorname - Name.initVal - Initial value.create - Create flag.IgniteExceptionpublic void getIgniteConfiguration(long memPtr)
getIgniteConfiguration in interface PlatformProcessormemPtr - Stream to write data to.public void getCacheNames(long memPtr)
getCacheNames in interface PlatformProcessormemPtr - Stream to write data to.public PlatformTargetProxy atomicSequence(String name, long initVal, boolean create) throws IgniteException
atomicSequence in interface PlatformProcessorname - Name.initVal - Initial value.create - Create flag.IgniteExceptionpublic PlatformTargetProxy atomicReference(String name, long memPtr, boolean create) throws IgniteException
atomicReference in interface PlatformProcessorname - Name.memPtr - Pointer to a stream with initial value. 0 for null initial value.create - Create flag.IgniteExceptionpublic PlatformTargetProxy createNearCache(@Nullable String cacheName, long memPtr)
createNearCache in interface PlatformProcessorcacheName - Cache name.memPtr - Pointer to a stream with near cache config. 0 for default config.public PlatformTargetProxy getOrCreateNearCache(@Nullable String cacheName, long memPtr)
getOrCreateNearCache in interface PlatformProcessorcacheName - Cache name.memPtr - Pointer to a stream with near cache config. 0 for default config.public boolean loggerIsLevelEnabled(int level)
loggerIsLevelEnabled in interface PlatformProcessorlevel - Log level.public void loggerLog(int level,
String message,
String category,
String errorInfo)
loggerLog in interface PlatformProcessorlevel - Log level.message - Message.category - Category.errorInfo - Error info.public PlatformTargetProxy binaryProcessor()
binaryProcessor in interface PlatformProcessor
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017