public class PlatformNoopProcessor extends GridProcessorAdapter implements PlatformProcessor
GridComponent.DiscoveryDataExchangeTypectx, log| Constructor and Description |
|---|
PlatformNoopProcessor(GridKernalContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
PlatformTarget |
affinity(String name)
Get affinity.
|
PlatformTarget |
atomicLong(String name,
long initVal,
boolean create)
Get or create AtomicLong.
|
PlatformTarget |
atomicReference(String name,
long memPtr,
boolean create)
Get or create AtomicReference.
|
PlatformTarget |
atomicSequence(String name,
long initVal,
boolean create)
Get or create AtomicSequence.
|
void |
awaitStart()
Await until platform processor is safe to use (i.e.
|
PlatformTarget |
cache(String name)
Get cache.
|
PlatformTarget |
compute(PlatformTarget grp)
Create interop compute.
|
PlatformContext |
context()
Gets platform context.
|
PlatformTarget |
createCache(String name)
Create cache.
|
PlatformTarget |
createCacheFromConfig(long memPtr)
Create cache.
|
PlatformTarget |
createNearCache(String cacheName,
long memPtr)
Starts a near cache on local node if cache was previously started.
|
PlatformTarget |
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.
|
PlatformTarget |
events(PlatformTarget grp)
Create interop events.
|
PlatformTarget |
extensions()
Get platform extensions.
|
void |
getCacheNames(long memPtr)
Gets the cache names.
|
void |
getIgniteConfiguration(long memPtr)
Gets the configuration of the current Ignite instance.
|
PlatformTarget |
getOrCreateCache(String name)
Get or create cache.
|
PlatformTarget |
getOrCreateCacheFromConfig(long memPtr)
Get or create cache.
|
PlatformTarget |
getOrCreateNearCache(String cacheName,
long memPtr)
Gets existing near cache with the given name or creates a new one.
|
Ignite |
ignite()
Gets owning Ignite instance.
|
PlatformTarget |
message(PlatformTarget grp)
Create interop messaging.
|
PlatformTarget |
projection()
Get projection.
|
void |
registerStore(PlatformCacheStore store,
boolean convertBinary)
Register cache store.
|
void |
releaseStart()
Notify processor that it is safe to use.
|
PlatformTarget |
services(PlatformTarget grp)
Create interop services.
|
PlatformTarget |
transactions()
Get transactions.
|
assertParameter, collectDiscoveryData, discoveryDataType, onDisconnected, onDiscoveryDataReceived, onKernalStart, onKernalStop, onReconnected, printMemoryStats, start, stop, toString, validateNodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcollectDiscoveryData, discoveryDataType, onDisconnected, onDiscoveryDataReceived, 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 PlatformTarget cache(@Nullable String name) throws IgniteCheckedException
cache in interface PlatformProcessorname - Cache name.IgniteCheckedException - If failed.public PlatformTarget createCache(@Nullable String name) throws IgniteCheckedException
createCache in interface PlatformProcessorname - Cache name.IgniteCheckedException - If failed.public PlatformTarget getOrCreateCache(@Nullable String name) throws IgniteCheckedException
getOrCreateCache in interface PlatformProcessorname - Cache name.IgniteCheckedException - If failed.public PlatformTarget createCacheFromConfig(long memPtr) throws IgniteCheckedException
createCacheFromConfig in interface PlatformProcessormemPtr - Stream with cache config.IgniteCheckedException - If failed.public PlatformTarget 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 PlatformTarget affinity(@Nullable String name) throws IgniteCheckedException
affinity in interface PlatformProcessorname - Cache name.IgniteCheckedException - If failed.public PlatformTarget dataStreamer(@Nullable String cacheName, boolean keepBinary) throws IgniteCheckedException
dataStreamer in interface PlatformProcessorcacheName - Cache name.keepBinary - Binary flag.IgniteCheckedException - If failed.public PlatformTarget transactions()
transactions in interface PlatformProcessorpublic PlatformTarget projection() throws IgniteCheckedException
projection in interface PlatformProcessorIgniteCheckedException - If failed.public PlatformTarget compute(PlatformTarget grp)
compute in interface PlatformProcessorgrp - Cluster group.public PlatformTarget message(PlatformTarget grp)
message in interface PlatformProcessorgrp - Cluster group.public PlatformTarget events(PlatformTarget grp)
events in interface PlatformProcessorgrp - Cluster group.public PlatformTarget services(PlatformTarget grp)
services in interface PlatformProcessorgrp - Cluster group.public PlatformTarget extensions()
extensions in interface PlatformProcessorpublic void registerStore(PlatformCacheStore store, boolean convertBinary) throws IgniteCheckedException
registerStore in interface PlatformProcessorstore - Store.convertBinary - Convert binary flag.IgniteCheckedException - If failed.public PlatformTarget 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 PlatformTarget atomicSequence(String name, long initVal, boolean create) throws IgniteException
atomicSequence in interface PlatformProcessorname - Name.initVal - Initial value.create - Create flag.IgniteExceptionpublic PlatformTarget 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 PlatformTarget 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 PlatformTarget 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.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.7.0 Release Date : August 1 2016