| Modifier and Type | Class and Description |
|---|---|
class |
IgniteAuthenticationException
Exception that represents authentication failure.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IgniteCluster.tag(String tag)
Enables user to add a specific label to the cluster e.g. to describe purpose of the cluster
or any its characteristics.
|
| Modifier and Type | Class and Description |
|---|---|
class |
QueryCancelledException
The exception is thrown if a query was cancelled or timed out while executing.
|
| Modifier and Type | Method and Description |
|---|---|
protected <X> X |
CacheJdbcBlobStore.fromBytes(byte[] bytes)
Deserialize object from byte array using marshaller.
|
protected byte[] |
CacheJdbcBlobStore.toBytes(Object obj)
Serialize object to byte array using marshaller.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridifyInterceptor.isGridify(Annotation gridify,
GridifyArgument arg)
This method is called before actual grid-enabling happens.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
GridifySetToSetAbstractAspect.checkIsSplitToJobsAllowed(GridifyRangeArgument arg,
GridifySetToSet ann)
Check if split allowed for input argument.
|
protected void |
GridifySetToValueAbstractAspect.checkIsSplitToJobsAllowed(GridifyRangeArgument arg,
GridifySetToValue ann)
Check if split allowed for input argument.
|
protected void |
GridifySetToSetAbstractAspect.checkMethodSignature(Method mtd)
Check method signature.
|
protected void |
GridifySetToValueAbstractAspect.checkMethodSignature(Method mtd)
Check method signature.
|
protected Object |
GridifySetToSetAbstractAspect.execute(IgniteCompute compute,
Class<?> cls,
GridifyRangeArgument arg,
GridifyNodeFilter nodeFilter,
int threshold,
int splitSize,
long timeout)
Execute method on grid.
|
protected Object |
GridifySetToValueAbstractAspect.execute(Method mtd,
IgniteCompute compute,
Class<?> cls,
GridifyRangeArgument arg,
GridifyNodeFilter nodeFilter,
int threshold,
int splitSize,
long timeout)
Execute method on grid.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<InetSocketAddress> |
BasicAddressResolver.getExternalAddresses(InetSocketAddress addr)
Maps internal address to a collection of external addresses.
|
Collection<InetSocketAddress> |
AddressResolver.getExternalAddresses(InetSocketAddress addr)
Maps internal address to a collection of external addresses.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DuplicateTypeIdException
The exception indicates a duplicate type ID was encountered.
|
class |
GridInternalException
When log debug mode is disabled this exception should be logged in short form - without stack trace.
|
class |
IgniteClientDisconnectedCheckedException |
class |
IgniteDeploymentCheckedException
Deployment or re-deployment failed.
|
class |
IgniteFutureCancelledCheckedException
Future computation cannot be retrieved because it was cancelled.
|
class |
IgniteFutureTimeoutCheckedException
Future computation completion is timed out.
|
class |
IgniteInterruptedCheckedException
This exception is used to wrap standard
InterruptedException into IgniteCheckedException. |
class |
IgniteNeedReconnectException
Indicates that node should try reconnect to cluster.
|
class |
NodeStoppingException |
| Modifier and Type | Method and Description |
|---|---|
static <R> ComputeTaskInternalFuture<R> |
ComputeTaskInternalFuture.finishedFuture(GridKernalContext ctx,
Class<?> taskCls,
IgniteCheckedException e) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
IgniteInternalFuture.cancel()
Cancels this future.
|
boolean |
ComputeTaskInternalFuture.cancel()
Default no-op implementation that always returns
false. |
<T> T |
IgniteComponentType.create(boolean noOp)
Creates component.
|
<T> T |
IgniteComponentType.create(GridKernalContext ctx,
boolean noOp)
Creates component.
|
<T> T |
IgniteComponentType.createIfInClassPath(GridKernalContext ctx,
boolean mandatory)
Creates component.
|
<T> T |
IgniteComponentType.createOptional()
First tries to find main component class, if it is not found creates no-op implementation.
|
<T> T |
IgniteComponentType.createOptional(GridKernalContext ctx)
First tries to find main component class, if it is not found creates no-op implementation.
|
static IgniteDiagnosticMessage |
IgniteDiagnosticMessage.createRequest(Marshaller marsh,
IgniteClosure<GridKernalContext,IgniteDiagnosticInfo> c,
long futId) |
R |
IgniteInternalFuture.get()
Synchronously waits for completion of the computation and
returns computation result.
|
R |
IgniteInternalFuture.get(long timeout)
Synchronously waits for completion of the computation for
up to the timeout specified and returns computation result.
|
R |
IgniteInternalFuture.get(long timeout,
TimeUnit unit)
Synchronously waits for completion of the computation for
up to the timeout specified and returns computation result.
|
Class |
MarshallerContextImpl.getClass(int typeId,
ClassLoader ldr)
Gets class for provided type ID.
|
String |
MarshallerContextImpl.getClassName(byte platformId,
int typeId)
Gets class name for provided (platformId, typeId) pair.
|
R |
IgniteInternalFuture.getUninterruptibly()
Synchronously waits for completion of the computation and returns computation result ignoring interrupts.
|
static IgniteBiTuple<IgniteConfiguration,GridSpringResourceContext> |
IgnitionEx.loadConfiguration(String springCfgPath)
Loads first found grid configuration specified within given Spring XML configuration file.
|
static IgniteBiTuple<IgniteConfiguration,GridSpringResourceContext> |
IgnitionEx.loadConfiguration(URL springCfgUrl)
Loads first found grid configuration specified within given Spring XML configuration file.
|
static IgniteBiTuple<Collection<IgniteConfiguration>,? extends GridSpringResourceContext> |
IgnitionEx.loadConfigurations(InputStream springCfgStream)
Loads all grid configurations specified within given input stream.
|
static IgniteBiTuple<Collection<IgniteConfiguration>,? extends GridSpringResourceContext> |
IgnitionEx.loadConfigurations(String springCfgPath)
Loads all grid configurations specified within given Spring XML configuration file.
|
static IgniteBiTuple<Collection<IgniteConfiguration>,? extends GridSpringResourceContext> |
IgnitionEx.loadConfigurations(URL springCfgUrl)
Loads all grid configurations specified within given Spring XML configuration file.
|
static <T> T |
IgnitionEx.loadSpringBean(InputStream springXmlStream,
String beanName)
Loads spring bean by name.
|
static <T> T |
IgnitionEx.loadSpringBean(String springXmlPath,
String beanName)
Loads spring bean by name.
|
static <T> T |
IgnitionEx.loadSpringBean(URL springXmlUrl,
String beanName)
Loads spring bean by name.
|
@Nullable MessageFactory |
IgniteComponentType.messageFactory()
Creates message factory for the component.
|
void |
GridComponent.onDisconnected(IgniteFuture<?> reconnectFut)
Client disconnected callback.
|
void |
GridComponent.onKernalStart(boolean active)
Callback that notifies that kernal has successfully started,
including all managers and processors.
|
void |
GridPluginComponent.onKernalStart(boolean active)
Callback that notifies that kernal has successfully started,
including all managers and processors.
|
void |
MarshallerContextImpl.onMarshallerProcessorStarted(GridKernalContext ctx,
MarshallerMappingTransport transport) |
@Nullable IgniteInternalFuture<?> |
GridComponent.onReconnected(boolean clusterRestarted)
Client reconnected callback.
|
void |
GridMessageListenHandler.p2pMarshal(GridKernalContext ctx)
Deploys and marshals inner objects (called only if peer deployment is enabled).
|
void |
GridMessageListenHandler.p2pUnmarshal(UUID nodeId,
GridKernalContext ctx)
Unmarshals inner objects (called only if peer deployment is enabled).
|
boolean |
MarshallerContextImpl.registerClassName(byte platformId,
int typeId,
String clsName)
Same as
MarshallerContext.registerClassName(byte, int, java.lang.String, boolean) but with shortened
parameters list. |
boolean |
MarshallerContextImpl.registerClassName(byte platformId,
int typeId,
String clsName,
boolean failIfUnregistered)
Method to register typeId->class name mapping in marshaller context cluster-wide.
|
boolean |
MarshallerContextImpl.registerClassNameLocally(byte platformId,
int typeId,
String clsName)
Method to register typeId->class name mapping in marshaller context on local node only.
|
static void |
MarshallerContextImpl.saveMappings(GridKernalContext ctx,
List<Map<Integer,MappedName>> mappings,
File dir) |
<R> R |
AsyncSupportAdapter.saveOrGet(IgniteInternalFuture<R> fut) |
static Ignite |
IgnitionEx.start()
Starts grid with default configuration.
|
void |
GridComponent.start()
Starts grid component.
|
void |
GridPluginComponent.start()
Starts grid component.
|
static Ignite |
IgnitionEx.start(@Nullable GridSpringResourceContext springCtx)
Starts grid with default configuration.
|
static Ignite |
IgnitionEx.start(IgniteConfiguration cfg)
Starts grid with given configuration.
|
static Ignite |
IgnitionEx.start(IgniteConfiguration cfg,
boolean failIfStarted)
Starts a grid with given configuration.
|
void |
IgniteKernal.start(IgniteConfiguration cfg,
ExecutorService utilityCachePool,
ExecutorService execSvc,
ExecutorService svcExecSvc,
ExecutorService sysExecSvc,
StripedExecutor stripedExecSvc,
ExecutorService p2pExecSvc,
ExecutorService mgmtExecSvc,
StripedExecutor dataStreamExecSvc,
ExecutorService restExecSvc,
ExecutorService affExecSvc,
@Nullable ExecutorService idxExecSvc,
@Nullable ExecutorService buildIdxExecSvc,
IgniteStripedThreadPoolExecutor callbackExecSvc,
ExecutorService qryExecSvc,
ExecutorService schemaExecSvc,
ExecutorService rebalanceExecSvc,
IgniteStripedThreadPoolExecutor rebalanceStripedExecSvc,
@Nullable Map<String,? extends ExecutorService> customExecSvcs,
GridAbsClosure errHnd,
WorkersRegistry workerRegistry,
Thread.UncaughtExceptionHandler hnd,
TimeBag startTimer) |
static Ignite |
IgnitionEx.start(IgniteConfiguration cfg,
@Nullable GridSpringResourceContext springCtx)
Starts grid with given configuration.
|
static T2<Ignite,Boolean> |
IgnitionEx.start(IgniteConfiguration cfg,
@Nullable GridSpringResourceContext springCtx,
boolean failIfStarted)
Starts grid with given configuration.
|
static Ignite |
IgnitionEx.start(InputStream springCfgStream)
Starts all grids specified within given Spring XML configuration input stream.
|
static Ignite |
IgnitionEx.start(InputStream springCfgStream,
@Nullable String igniteInstanceName,
@Nullable GridSpringResourceContext springCtx,
@Nullable ClassLoader ldr)
Starts all grids specified within given Spring XML configuration input stream.
|
static Ignite |
IgnitionEx.start(@Nullable String springCfgPath)
Starts all grids specified within given Spring XML configuration file.
|
static Ignite |
IgnitionEx.start(@Nullable String springCfgPath,
@Nullable String igniteInstanceName)
Starts all grids specified within given Spring XML configuration file.
|
static Ignite |
IgnitionEx.start(String springCfgPath,
@Nullable String igniteInstanceName,
@Nullable GridSpringResourceContext springCtx,
@Nullable ClassLoader ldr)
Starts all grids specified within given Spring XML configuration file.
|
static Ignite |
IgnitionEx.start(URL springCfgUrl)
Starts all grids specified within given Spring XML configuration file URL.
|
static Ignite |
IgnitionEx.start(URL springCfgUrl,
@Nullable ClassLoader ldr)
Starts all grids specified within given Spring XML configuration file URL.
|
static Ignite |
IgnitionEx.start(URL springCfgUrl,
@Nullable String igniteInstanceName,
@Nullable GridSpringResourceContext springCtx,
@Nullable ClassLoader ldr)
Starts all grids specified within given Spring XML configuration file URL.
|
void |
GridComponent.stop(boolean cancel)
Stops grid component.
|
void |
GridPluginComponent.stop(boolean cancel)
Stops grid component.
|
<T> T |
IgniteDiagnosticMessage.unmarshal(Marshaller marsh) |
void |
GridJobSiblingsResponse.unmarshalSiblings(Marshaller marsh) |
| Modifier and Type | Method and Description |
|---|---|
void |
BinaryObjectOffheapImpl.finishUnmarshal(CacheObjectValueContext ctx,
ClassLoader ldr) |
void |
BinaryEnumObjectImpl.finishUnmarshal(CacheObjectValueContext ctx,
ClassLoader ldr) |
void |
BinaryObjectImpl.finishUnmarshal(CacheObjectValueContext ctx,
ClassLoader ldr) |
protected byte[] |
BinaryMarshaller.marshal0(@Nullable Object obj)
Marshals object to byte array.
|
protected void |
BinaryMarshaller.marshal0(@Nullable Object obj,
OutputStream out)
Marshals object to the output stream.
|
void |
BinaryObjectOffheapImpl.prepareMarshal(CacheObjectValueContext ctx) |
void |
BinaryEnumObjectImpl.prepareMarshal(CacheObjectValueContext ctx) |
void |
BinaryObjectImpl.prepareMarshal(CacheObjectValueContext ctx) |
boolean |
BinaryObjectOffheapImpl.putValue(ByteBuffer buf) |
boolean |
BinaryEnumObjectImpl.putValue(ByteBuffer buf) |
boolean |
BinaryObjectImpl.putValue(ByteBuffer buf) |
boolean |
BinaryObjectOffheapImpl.putValue(ByteBuffer buf,
int off,
int len) |
boolean |
BinaryEnumObjectImpl.putValue(ByteBuffer buf,
int off,
int len) |
boolean |
BinaryObjectImpl.putValue(ByteBuffer buf,
int off,
int len) |
int |
BinaryObjectOffheapImpl.putValue(long addr) |
int |
BinaryEnumObjectImpl.putValue(long addr) |
int |
BinaryObjectImpl.putValue(long addr) |
protected <T> T |
BinaryMarshaller.unmarshal0(byte[] bytes,
@Nullable ClassLoader clsLdr)
Unmarshals object from byte array using given class loader.
|
protected <T> T |
BinaryMarshaller.unmarshal0(InputStream in,
@Nullable ClassLoader clsLdr)
Unmarshals object from the input stream using given class loader.
|
byte[] |
BinaryObjectOffheapImpl.valueBytes(CacheObjectValueContext ctx) |
byte[] |
BinaryEnumObjectImpl.valueBytes(CacheObjectValueContext cacheCtx) |
byte[] |
BinaryObjectImpl.valueBytes(CacheObjectValueContext ctx) |
int |
BinaryObjectOffheapImpl.valueBytesLength(CacheObjectContext ctx) |
int |
BinaryEnumObjectImpl.valueBytesLength(CacheObjectContext ctx) |
int |
BinaryObjectImpl.valueBytesLength(CacheObjectContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
static GridTcpRouter |
GridRouterFactory.startTcpRouter(GridTcpRouterConfiguration cfg)
Starts a TCP router with given configuration.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
GridRouterCommandLineStartup.main(String[] args)
Wrapper method to run router from command-line.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ClusterGroupEmptyCheckedException
This exception defines illegal call on empty projection.
|
class |
ClusterTopologyCheckedException
This exception is used to indicate error with grid topology (e.g., crashed node, etc.).
|
class |
ClusterTopologyServerNotFoundException
Internal exception that is used to indicate that all server nodes have left the grid.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DistributedBaselineConfiguration.onActivate()
Called when cluster performing activation.
|
void |
IgniteClusterImpl.tag(String tag)
Enables user to add a specific label to the cluster e.g. to describe purpose of the cluster
or any its characteristics.
|
void |
IgniteClusterAsyncImpl.tag(String tag)
Enables user to add a specific label to the cluster e.g. to describe purpose of the cluster
or any its characteristics.
|
GridFutureAdapter<?> |
DistributedBaselineConfiguration.updateBaselineAutoAdjustEnabledAsync(boolean baselineAutoAdjustEnabled) |
GridFutureAdapter<?> |
DistributedBaselineConfiguration.updateBaselineAutoAdjustTimeoutAsync(long baselineAutoAdjustTimeout) |
| Modifier and Type | Class and Description |
|---|---|
class |
ComputeTaskCancelledCheckedException
This exception indicates that grid task was cancelled.
|
class |
ComputeTaskTimeoutCheckedException
This exception indicates that task execution timed out.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
GridManagerAdapter.assertParameter(boolean cond,
String condDesc)
Throws exception with uniform error message if given parameter's assertion condition
is
false. |
protected void |
GridManagerAdapter.inject()
Injects resources to SPI.
|
void |
GridManagerAdapter.onDisconnected(IgniteFuture<?> reconnectFut)
Client disconnected callback.
|
void |
GridManagerAdapter.onKernalStart(boolean active)
Callback that notifies that kernal has successfully started,
including all managers and processors.
|
protected void |
GridManagerAdapter.onKernalStart0() |
IgniteInternalFuture<?> |
GridManagerAdapter.onReconnected(boolean clusterRestarted)
Client reconnected callback.
|
void |
IgniteMBeansManager.registerAllMBeans(ExecutorService utilityCachePool,
ExecutorService execSvc,
ExecutorService svcExecSvc,
ExecutorService sysExecSvc,
StripedExecutor stripedExecSvc,
ExecutorService p2pExecSvc,
ExecutorService mgmtExecSvc,
StripedExecutor dataStreamExecSvc,
ExecutorService restExecSvc,
ExecutorService affExecSvc,
@Nullable ExecutorService idxExecSvc,
IgniteStripedThreadPoolExecutor callbackExecSvc,
ExecutorService qryExecSvc,
ExecutorService schemaExecSvc,
ExecutorService rebalanceExecSvc,
IgniteStripedThreadPoolExecutor rebalanceStripedExecSvc,
@Nullable Map<String,? extends ExecutorService> customExecSvcs,
WorkersRegistry workersRegistry)
Registers all kernal MBeans (for kernal, metrics, thread pools).
|
<T> void |
IgniteMBeansManager.registerMBean(String grp,
String name,
T impl,
Class<T> itf)
Register an Ignite MBean.
|
protected void |
GridManagerAdapter.startSpi()
Starts wrapped SPI.
|
protected void |
GridManagerAdapter.stopSpi()
Stops wrapped SPI.
|
| Modifier and Type | Method and Description |
|---|---|
@Nullable Serializable |
GridCheckpointManager.loadCheckpoint(GridTaskSessionInternal ses,
String key) |
void |
GridCheckpointManager.start()
Starts grid component.
|
void |
GridCheckpointManager.stop(boolean cancel)
Stops grid component.
|
boolean |
GridCheckpointManager.storeCheckpoint(GridTaskSessionInternal ses,
String key,
Object state,
ComputeTaskSessionScope scope,
long timeout,
boolean override) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridCollisionManager.start()
Starts grid component.
|
void |
GridCollisionManager.stop(boolean cancel)
Stops grid component.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridIoManager.checkNodeLeft(UUID nodeId,
IgniteCheckedException sndErr,
boolean ping) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridIoManager.onKernalStart0() |
IgniteInternalFuture<?> |
GridIoManager.onReconnected(boolean clusterRestarted)
Client reconnected callback.
|
void |
GridIoManager.TransmissionSender.send(File file,
long offset,
long cnt,
Map<String,Serializable> params,
TransmissionPolicy plc) |
void |
GridIoManager.TransmissionSender.send(File file,
Map<String,Serializable> params,
TransmissionPolicy plc) |
void |
GridIoManager.TransmissionSender.send(File file,
TransmissionPolicy plc) |
void |
GridIoManager.sendGeneric(ClusterNode node,
Object topic,
int topicOrd,
Message msg,
byte plc) |
void |
GridIoManager.sendOrderedMessage(ClusterNode node,
Object topic,
Message msg,
byte plc,
long timeout,
boolean skipOnTimeout) |
void |
GridIoManager.sendOrderedMessage(ClusterNode node,
Object topic,
Message msg,
byte plc,
long timeout,
boolean skipOnTimeout,
IgniteInClosure<IgniteException> ackC) |
void |
GridIoManager.sendToCustomTopic(ClusterNode node,
Object topic,
Message msg,
byte plc) |
void |
GridIoManager.sendToCustomTopic(UUID nodeId,
Object topic,
Message msg,
byte plc) |
void |
GridIoManager.sendToGridTopic(ClusterNode node,
GridTopic topic,
Message msg,
byte plc) |
void |
GridIoManager.sendToGridTopic(ClusterNode node,
GridTopic topic,
Message msg,
byte plc,
IgniteInClosure<IgniteException> ackC) |
void |
GridIoManager.sendToGridTopic(ClusterNode node,
GridTopic topic,
Message msg,
byte plc,
Span span) |
void |
GridIoManager.sendToGridTopic(Collection<? extends ClusterNode> nodes,
GridTopic topic,
Message msg,
byte plc) |
void |
GridIoManager.sendToGridTopic(UUID nodeId,
GridTopic topic,
Message msg,
byte plc) |
void |
GridIoManager.sendUserMessage(Collection<? extends ClusterNode> nodes,
Object msg,
@Nullable Object topic,
boolean ordered,
long timeout,
boolean async)
Sends a peer deployable user message.
|
void |
GridIoManager.start()
Starts grid component.
|
void |
GridIoManager.stop(boolean cancel)
Stops grid component.
|
| Modifier and Type | Method and Description |
|---|---|
@Nullable Object |
GridDeployment.annotatedValue(Object target,
Class<? extends Annotation> annCls)
Gets value of annotated field or method.
|
@Nullable GridDeployment |
GridDeploymentManager.deploy(Class<?> cls,
ClassLoader clsLdr) |
GridDeployment |
GridDeploymentStore.explicitDeploy(Class<?> cls,
ClassLoader clsLdr)
Explicitly deploys class.
|
<T> T |
GridDeployment.newInstance(Class<T> cls) |
void |
GridDeploymentManager.onDisconnected(IgniteFuture<?> reconnectFut)
Client disconnected callback.
|
void |
GridDeploymentPerLoaderStore.onKernalStart()
Kernal started callback.
|
void |
GridDeploymentPerVersionStore.onKernalStart()
Kernal started callback.
|
void |
GridDeploymentStore.onKernalStart()
Kernal started callback.
|
void |
GridDeploymentManager.onKernalStart0() |
IgniteInternalFuture<?> |
GridDeploymentManager.onReconnected(boolean clusterRestarted)
Client reconnected callback.
|
void |
GridDeploymentPerLoaderStore.start()
Starts store.
|
void |
GridDeploymentPerVersionStore.start()
Starts store.
|
void |
GridDeploymentStore.start()
Starts store.
|
void |
GridDeploymentManager.start()
Starts grid component.
|
void |
GridDeploymentManager.stop(boolean cancel)
Stops grid component.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
GridDiscoveryManager.initCommunicationErrorResolveConfiguration(IgniteConfiguration cfg) |
protected void |
GridDiscoveryManager.onKernalStart0() |
void |
GridDiscoveryManager.sendCustomEvent(DiscoveryCustomMessage msg) |
void |
GridDiscoveryManager.start()
Starts grid component.
|
void |
GridDiscoveryManager.stop(boolean cancel)
Stops grid component.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridEncryptionManager.checkEncryptedCacheSupported()
Checks cache encryption supported by all nodes in cluster.
|
void |
GridEncryptionManager.onActivate(GridKernalContext kctx)
Called when cluster performing activation.
|
protected void |
GridEncryptionManager.onKernalStart0() |
void |
GridEncryptionManager.onReadyForReadWrite(ReadWriteMetastorage metaStorage)
Fully functional metastore capable of performing reading and writing operations.
|
void |
GridEncryptionManager.start()
Starts grid component.
|
void |
GridEncryptionManager.stop(boolean cancel)
Stops grid component.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Event> |
GridEventStorageManager.localEvents(IgnitePredicate<T> p) |
void |
GridEventStorageManager.start()
Starts grid component.
|
void |
GridEventStorageManager.stop(boolean cancel)
Stops grid component.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridFailoverManager.start()
Starts grid component.
|
void |
GridFailoverManager.stop(boolean cancel)
Stops grid component.
|
| Modifier and Type | Method and Description |
|---|---|
IgniteSpiCloseableIterator<?> |
GridIndexingManager.query(String cacheName,
Collection<Object> params,
IndexingQueryFilter filters) |
void |
GridIndexingManager.remove(String cacheName,
Object key) |
void |
GridIndexingManager.start() |
void |
GridIndexingManager.stop(boolean cancel) |
<K,V> void |
GridIndexingManager.store(String cacheName,
K key,
V val,
long expirationTime)
Writes key-value pair to index.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridLoadBalancerManager.start()
Starts grid component.
|
void |
GridLoadBalancerManager.stop(boolean cancel)
Stops grid component.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridSystemViewManager.start()
Starts grid component.
|
void |
GridSystemViewManager.stop(boolean cancel)
Stops grid component.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridTracingManager.start() |
void |
GridTracingManager.stop(boolean cancel) |
| Modifier and Type | Class and Description |
|---|---|
class |
OptimizedMarshallerInaccessibleClassException |
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
OptimizedMarshaller.marshal0(@Nullable Object obj)
Marshals object to byte array.
|
protected void |
OptimizedMarshaller.marshal0(@Nullable Object obj,
OutputStream out)
Marshals object to the output stream.
|
protected <T> T |
OptimizedMarshaller.unmarshal0(byte[] arr,
@Nullable ClassLoader clsLdr)
Unmarshals object from byte array using given class loader.
|
protected <T> T |
OptimizedMarshaller.unmarshal0(InputStream in,
@Nullable ClassLoader clsLdr)
Unmarshals object from the input stream using given class loader.
|
| Modifier and Type | Method and Description |
|---|---|
long |
PageSupport.acquirePage(int grpId,
long pageId)
Gets the page absolute pointer associated with the given page ID.
|
long |
PageSupport.acquirePage(int grpId,
long pageId,
IoStatisticsHolder statHolder)
Gets the page absolute pointer associated with the given page ID.
|
long |
PageIdAllocator.allocatePage(int grpId,
int partId,
byte flags)
Allocates a page from the space for the given partition ID and the given flags.
|
boolean |
PageIdAllocator.freePage(int cacheId,
long pageId)
The given page is free now.
|
| Modifier and Type | Method and Description |
|---|---|
long |
PageStore.allocatePage()
Allocates next page index.
|
long |
IgnitePageStoreManager.allocatePage(int grpId,
int partId,
byte flags)
Allocates a page for the given page space.
|
boolean |
IgnitePageStoreManager.checkAndInitCacheWorkDir(CacheConfiguration cacheCfg)
Creates and initializes cache work directory retrieved from
cacheCfg. |
void |
IgnitePageStoreManager.cleanupPersistentSpace()
Cleanup persistent space for all caches except metastore.
|
void |
IgnitePageStoreManager.cleanupPersistentSpace(CacheConfiguration cacheConfiguration)
Cleanup persistent space for cache.
|
void |
PageStore.ensure() |
void |
IgnitePageStoreManager.ensure(int grpId,
int partId) |
boolean |
IgnitePageStoreManager.exists(int grpId,
int partId)
Checks if partition store exists.
|
void |
IgnitePageStoreManager.finishRecover()
Invoked after checkpoint recover is finished.
|
void |
IgnitePageStoreManager.initialize(int cacheId,
int partitions,
String workingDir,
LongAdderMetric tracker)
Initializes disk store structures.
|
void |
IgnitePageStoreManager.initializeForCache(CacheGroupDescriptor grpDesc,
StoredCacheData cacheData)
Callback called when a cache is starting.
|
void |
IgnitePageStoreManager.initializeForMetastorage()
Initializes disk cache store structures.
|
void |
IgnitePageStoreManager.onPartitionCreated(int grpId,
int partId)
Callback called when a partition is created on the local node.
|
void |
IgnitePageStoreManager.onPartitionDestroyed(int grpId,
int partId,
int tag)
Callback called when a partition for the given cache is evicted from the local node.
|
long |
IgnitePageStoreManager.pageOffset(int grpId,
long pageId)
Gets page offset within the page store file.
|
int |
IgnitePageStoreManager.pages(int grpId,
int partId)
Gets total number of allocated pages for the given space.
|
void |
IgnitePageStoreManager.read(int grpId,
long pageId,
ByteBuffer pageBuf)
Reads a page for the given cache ID.
|
boolean |
PageStore.read(long pageId,
ByteBuffer pageBuf,
boolean keepCrc)
Reads a page.
|
Map<String,StoredCacheData> |
IgnitePageStoreManager.readCacheConfigurations() |
void |
PageStore.readHeader(ByteBuffer buf)
Reads a header.
|
void |
IgnitePageStoreManager.readHeader(int grpId,
int partId,
ByteBuffer buf)
Reads a header of a page store.
|
void |
IgnitePageStoreManager.removeCacheData(StoredCacheData cacheData)
Remove cache configuration data file.
|
void |
IgnitePageStoreManager.shutdownForCacheGroup(CacheGroupContext grp,
boolean destroy)
Callback called when a cache is stopping.
|
void |
IgnitePageStoreManager.storeCacheData(StoredCacheData cacheData,
boolean overwrite) |
void |
PageStore.sync()
Sync method used to ensure that the given pages are guaranteed to be written to the store.
|
void |
IgnitePageStoreManager.sync(int grpId,
int partId)
Makes sure that all previous writes to the store has been written to disk.
|
void |
IgnitePageStoreManager.write(int grpId,
long pageId,
ByteBuffer pageBuf,
int tag)
Writes the page for the given cache ID.
|
void |
PageStore.write(long pageId,
ByteBuffer pageBuf,
int tag,
boolean calculateCrc)
Writes a page.
|
| Modifier and Type | Method and Description |
|---|---|
WALPointer |
IgniteWriteAheadLogManager.flush(WALPointer ptr,
boolean explicitFsync)
Makes sure that all log entries written to the log up until the specified pointer are actually written
to the underlying storage.
|
WALPointer |
IgniteWriteAheadLogManager.log(WALRecord entry)
Appends the given log entry to the write-ahead log.
|
WALPointer |
IgniteWriteAheadLogManager.log(WALRecord entry,
RolloverType rolloverType)
Appends the given log entry to the write-ahead log.
|
WALRecord |
IgniteWriteAheadLogManager.read(WALPointer ptr)
Reads WAL record by the specified pointer.
|
void |
IgniteWriteAheadLogManager.release(WALPointer start)
Invoke this method to release WAL history since provided pointer that was previously reserved.
|
WALIterator |
IgniteWriteAheadLogManager.replay(WALPointer start)
Invoke this method to iterate over the written log entries.
|
WALIterator |
IgniteWriteAheadLogManager.replay(WALPointer start,
@Nullable IgniteBiPredicate<WALRecord.RecordType,WALPointer> recordDeserializeFilter)
Invoke this method to iterate over the written log entries.
|
void |
IgniteWriteAheadLogManager.resumeLogging(WALPointer lastWrittenPtr)
Resumes logging after start.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DeltaApplicationException
Thrown in case when delta application to the page failed.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ReplaceRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
MetaPageUpdatePartitionDataRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
DataPageRemoveRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
MetaPageUpdateLastSuccessfulFullSnapshotId.applyDelta(PageMemory pageMem,
long pageAddr)
Deprecated.
Apply changes from this delta to the given page.
|
void |
TrackingPageRepairDeltaRecord.applyDelta(PageMemory pageMem,
long pageAddr) |
void |
MetaPageAddRootRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
RotatedIdPartRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
DataPageMvccUpdateNewTxStateHintRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
PageListMetaResetCountRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
PagesListSetPreviousRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
PagesListAddPageRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
MetaPageInitRootInlineFlagsCreatedVersionRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
MetaPageUpdatePartitionDataRecordV2.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
DataPageInsertFragmentRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
PagesListInitNewPageRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
TrackingPageDeltaRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
DataPageUpdateRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
SplitExistingPageRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
NewRootInitRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
MetaPageCutRootRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
PagesListSetNextRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
FixLeftmostChildRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
MetaPageUpdateLastAllocatedIndex.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
MetaPageInitRootInlineRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
MergeRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
RecycleRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
abstract void |
PageDeltaRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
DataPageInsertRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
DataPageMvccMarkUpdatedRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
InnerReplaceRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
FixCountRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
MetaPageUpdateLastSuccessfulSnapshotId.applyDelta(PageMemory pageMem,
long pageAddr)
Deprecated.
Apply changes from this delta to the given page.
|
void |
DataPageSetFreeListPageRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
SplitForwardPageRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
RemoveRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
InitNewPageRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
MetaPageInitRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
DataPageMvccUpdateTxStateHintRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
FixRemoveId.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
MetaPageInitRootRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
InsertRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
PagesListRemovePageRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
MetaPageUpdateNextSnapshotId.applyDelta(PageMemory pageMem,
long pageAddr)
Deprecated.
Apply changes from this delta to the given page.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
GridProcessorAdapter.assertParameter(boolean cond,
String condDesc)
Throws exception with uniform error message if given parameter's assertion condition
is
false. |
void |
GridProcessorAdapter.onDisconnected(IgniteFuture<?> reconnectFut)
Client disconnected callback.
|
void |
GridProcessorAdapter.onKernalStart(boolean active)
Callback that notifies that kernal has successfully started,
including all managers and processors.
|
IgniteInternalFuture<?> |
GridProcessorAdapter.onReconnected(boolean clusterRestarted)
Client reconnected callback.
|
void |
GridProcessorAdapter.start()
Starts grid component.
|
void |
GridProcessorAdapter.stop(boolean cancel)
Stops grid component.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridAffinityAssignmentCache.cancelFutures(IgniteCheckedException err)
Kernal stop callback.
|
| Modifier and Type | Method and Description |
|---|---|
IgniteInternalFuture<org.apache.ignite.internal.processors.affinity.GridAffinityProcessor.AffinityInfo> |
GridAffinityProcessor.affinityCacheFuture(String cacheName,
@Nullable AffinityTopologyVersion topVer) |
@Nullable Object |
GridAffinityProcessor.affinityKey(String cacheName,
@Nullable Object key)
Gets affinity key for cache key.
|
<K> Map<ClusterNode,Collection<K>> |
GridAffinityProcessor.mapKeysToNodes(String cacheName,
@Nullable Collection<? extends K> keys)
Maps keys to nodes for given cache.
|
<K> @Nullable ClusterNode |
GridAffinityProcessor.mapKeyToNode(String cacheName,
K key)
Maps single key to a node.
|
<K> @Nullable ClusterNode |
GridAffinityProcessor.mapKeyToNode(String cacheName,
K key,
AffinityTopologyVersion topVer)
Maps single key to a node.
|
<K> List<ClusterNode> |
GridAffinityProcessor.mapKeyToPrimaryAndBackups(String cacheName,
K key,
AffinityTopologyVersion topVer)
Map single key to primary and backup nodes.
|
@Nullable ClusterNode |
GridAffinityProcessor.mapPartitionToNode(String cacheName,
int partId,
AffinityTopologyVersion topVer)
Maps partition to a node.
|
void |
GridAffinityProcessor.onDisconnected(IgniteFuture<?> reconnectFut)
Client disconnected callback.
|
int |
GridAffinityProcessor.partition(String cacheName,
Object key) |
int |
GridAffinityProcessor.partition(String cacheName,
Object key,
@Nullable org.apache.ignite.internal.processors.affinity.GridAffinityProcessor.AffinityInfo aff) |
int |
GridAffinityProcessor.partition0(String cacheName,
Object key,
@Nullable org.apache.ignite.internal.processors.affinity.GridAffinityProcessor.AffinityInfo aff) |
void |
GridAffinityProcessor.start()
Starts grid component.
|
| Modifier and Type | Class and Description |
|---|---|
class |
IgniteAccessControlException
Exception that represents authentication / authorization failure.
|
class |
UserManagementException
Exception that represents failures of user management operations.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IgniteAuthenticationProcessor.addUser(String login,
String passwd)
Adds new user.
|
AuthorizationContext |
IgniteAuthenticationProcessor.authenticate(String login,
String passwd)
Authenticate user.
|
void |
IgniteAuthenticationProcessor.onKernalStart(boolean active)
Callback that notifies that kernal has successfully started,
including all managers and processors.
|
void |
IgniteAuthenticationProcessor.onReadyForRead(ReadOnlyMetastorage metastorage)
Is called when metastorage is made ready for read-only operations very early on node startup phase.
|
void |
IgniteAuthenticationProcessor.removeUser(String login) |
void |
IgniteAuthenticationProcessor.start()
Starts grid component.
|
void |
IgniteAuthenticationProcessor.stop(boolean cancel)
Stops grid component.
|
void |
IgniteAuthenticationProcessor.updateUser(String login,
String passwd) |
| Modifier and Type | Method and Description |
|---|---|
protected Iterable<List<Object>> |
BulkLoadCsvParser.parseBatch(byte[] batchData,
boolean isLastBatch)
Parses a batch of input data and returns a list of records parsed
(in most cases this is a list of strings).
|
protected abstract Iterable<List<Object>> |
BulkLoadParser.parseBatch(byte[] batchData,
boolean isLastBatch)
Parses a batch of input data and returns a list of records parsed
(in most cases this is a list of strings).
|
void |
BulkLoadProcessor.processBatch(byte[] batchData,
boolean isLastBatch)
Processes the incoming batch and writes data to the cache by calling the data converter and output streamer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CharsetDecoderBlock.accept(byte[] data,
boolean isLastAppend)
Accepts a portion of input.
|
void |
LineSplitterBlock.accept(char[] chars,
boolean isLastPortion)
Accepts a portion of input.
|
abstract void |
PipelineBlock.accept(I inputPortion,
boolean isLastPortion)
Accepts a portion of input.
|
void |
CsvLineProcessorBlock.accept(String input,
boolean isLastPortion)
Accepts a portion of input.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CacheInvalidStateException
This exception is used to indicate that requested operation is unavailable in current cache state.
|
class |
CachePartialUpdateCheckedException
Exception thrown from non-transactional cache in case when update succeeded only partially.
|
class |
CacheStoppedException
Used to report attempts of accessing stopped cache.
|
class |
CacheStorePartialUpdateException |
class |
GridCacheIndexUpdateException
Exception indicating that index update failed during cache entry update.
|
class |
IgnitePeerToPeerClassLoadingException
This exception is thrown in communication-related cases when it is impossible to load class from any peer.
|
| Modifier and Type | Method and Description |
|---|---|
IgniteCheckedException |
GridCacheMessage.classError() |
IgniteCheckedException |
DynamicCacheChangeFailureMessage.error() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridCacheIoManager.checkNodeLeft(UUID nodeId,
IgniteCheckedException sndErr,
boolean ping) |
protected RuntimeException |
IgniteCacheFutureImpl.convertException(IgniteCheckedException e)
Convert internal exception to public exception.
|
static @NotNull RuntimeException |
GridCacheUtils.convertToCacheException(IgniteCheckedException e) |
void |
GridCacheMessage.onClassError(IgniteCheckedException err)
If class loading error occurred during unmarshalling and
GridCacheMessage.ignoreClassErrors() is
set to true, then the error will be passed into this method. |
| Modifier and Type | Method and Description |
|---|---|
void |
GridCacheSharedContext.activate() |
void |
GridCacheProcessor.addCacheConfiguration(CacheConfiguration cacheCfg) |
void |
GridCacheSharedContext.addCacheContext(GridCacheContext cacheCtx)
Adds cache context to shared cache context.
|
@Nullable List<GridCacheEntryInfo> |
GridCacheEntryEx.allVersionsInfo() |
@Nullable List<GridCacheEntryInfo> |
GridCacheMapEntry.allVersionsInfo() |
void |
GridCacheContext.awaitStarted() |
void |
GridCacheProcessor.awaitStarted()
Await for local join finish and caches start.
|
void |
CacheEvictionManager.batchEvict(Collection<?> keys,
@Nullable GridCacheVersion obsoleteVer) |
void |
GridCacheEvictionManager.batchEvict(Collection<?> keys,
@Nullable GridCacheVersion obsoleteVer) |
long |
IgniteCacheOffheapManager.cacheEntriesCount(int cacheId,
boolean primary,
boolean backup,
AffinityTopologyVersion topVer) |
long |
IgniteCacheOffheapManagerImpl.cacheEntriesCount(int cacheId,
boolean primary,
boolean backup,
AffinityTopologyVersion topVer) |
<K,V> GridCloseableIterator<javax.cache.Cache.Entry<K,V>> |
IgniteCacheOffheapManager.cacheEntriesIterator(GridCacheContext cctx,
boolean primary,
boolean backup,
AffinityTopologyVersion topVer,
boolean keepBinary,
@Nullable MvccSnapshot mvccSnapshot,
Boolean dataPageScanEnabled) |
GridIterator<CacheDataRow> |
IgniteCacheOffheapManager.cacheIterator(int cacheId,
boolean primary,
boolean backup,
AffinityTopologyVersion topVer,
@Nullable MvccSnapshot mvccSnapshot,
Boolean dataPageScanEnabled) |
GridCloseableIterator<KeyCacheObject> |
IgniteCacheOffheapManager.cacheKeysIterator(int cacheId,
int part) |
GridCloseableIterator<KeyCacheObject> |
IgniteCacheOffheapManagerImpl.cacheKeysIterator(int cacheId,
int part) |
CacheObjectContext |
DynamicCacheDescriptor.cacheObjectContext(IgniteCacheObjectProcessor proc)
Creates and caches cache object context if needed.
|
@Nullable CacheObjectContext |
GridCacheSharedContext.cacheObjectContext(int cacheId)
Returns cache object context if created or creates new and caches it until cache started.
|
GridIterator<CacheDataRow> |
IgniteCacheOffheapManager.cachePartitionIterator(int cacheId,
int part,
@Nullable MvccSnapshot mvccSnapshot,
Boolean dataPageScanEnabled) |
static void |
GridCacheUtils.checkAttributeMismatch(IgniteLogger log,
CacheConfiguration locCfg,
CacheConfiguration rmtCfg,
UUID rmtNodeId,
T2<String,String> attr,
boolean fail)
Checks that local and remove configurations have the same value of given attribute.
|
static void |
GridCacheUtils.checkAttributeMismatch(IgniteLogger log,
String cfgName,
UUID rmtNodeId,
String attrName,
String attrMsg,
@Nullable Object locVal,
@Nullable Object rmtVal,
boolean fail)
Checks that cache configuration attribute has the same value in local and remote cache configurations.
|
protected void |
GridCacheAdapter.checkJta()
Checks if cache is working in JTA transaction and enlist cache as XAResource if necessary.
|
static void |
GridCacheUtils.checkStore(GridCacheContext<?,?> ctx)
Checks that cache store is present.
|
int |
IgniteCacheOffheapManager.CacheDataStore.cleanup(GridCacheContext cctx,
@Nullable List<MvccLinkAwareSearchRow> cleanupRows) |
int |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.cleanup(GridCacheContext cctx,
@Nullable List<MvccLinkAwareSearchRow> cleanupRows) |
void |
GridCacheProcessor.cleanupCachesDirectories()
Remove all persistent files for all registered caches.
|
void |
GridCacheAdapter.clear()
Clears cache on all nodes that store it's data.
|
void |
GridCacheProxyImpl.clear()
Clears cache on all nodes that store it's data.
|
void |
IgniteInternalCache.clear()
Clears cache on all nodes that store it's data.
|
boolean |
GridCacheEntryEx.clear(GridCacheVersion ver,
boolean readers)
Marks entry as obsolete and, if possible or required, removes it
from swap storage.
|
boolean |
GridCacheMapEntry.clear(GridCacheVersion ver,
boolean readers)
Marks entry as obsolete and, if possible or required, removes it
from swap storage.
|
void |
IgniteCacheOffheapManager.CacheDataStore.clear(int cacheId)
Clears all the records associated with logical cache with given ID.
|
void |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.clear(int cacheId)
Clears all the records associated with logical cache with given ID.
|
void |
GridCacheAdapter.clear(K key)
Clears key on all nodes that store it's data.
|
void |
GridCacheProxyImpl.clear(K key)
Clears key on all nodes that store it's data.
|
void |
IgniteInternalCache.clear(K key)
Clears key on all nodes that store it's data.
|
void |
GridCacheAdapter.clearAll(Set<? extends K> keys)
Clears keys on all nodes that store it's data.
|
void |
GridCacheProxyImpl.clearAll(Set<? extends K> keys)
Clears keys on all nodes that store it's data.
|
void |
IgniteInternalCache.clearAll(Set<? extends K> keys)
Clears keys on all nodes that store it's data.
|
void |
GridCacheProcessor.clearStatistics(Collection<String> cacheNames)
Clear statistics globally for the caches
|
<T> T |
GridCacheProcessor.clone(T obj) |
ByteBuffer |
CacheCompressionManager.compressPage(ByteBuffer page,
PageStore store) |
GridCacheVersionConflictContext<K,V> |
GridCacheContext.conflictResolve(GridCacheVersionedEntryEx<K,V> oldEntry,
GridCacheVersionedEntryEx<K,V> newEntry,
boolean atomicVerComp)
Resolve DR conflict.
|
IgniteCacheOffheapManager.CacheDataStore |
IgniteCacheOffheapManager.createCacheDataStore(int p) |
IgniteCacheOffheapManager.CacheDataStore |
IgniteCacheOffheapManagerImpl.createCacheDataStore(int p) |
protected IgniteCacheOffheapManager.CacheDataStore |
IgniteCacheOffheapManagerImpl.createCacheDataStore0(int p) |
CacheDataRow |
IgniteCacheOffheapManager.CacheDataStore.createRow(GridCacheContext cctx,
KeyCacheObject key,
CacheObject val,
GridCacheVersion ver,
long expireTime,
@Nullable CacheDataRow oldRow) |
CacheDataRow |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.createRow(GridCacheContext cctx,
KeyCacheObject key,
CacheObject val,
GridCacheVersion ver,
long expireTime,
@Nullable CacheDataRow oldRow) |
GridCursor<? extends CacheDataRow> |
IgniteCacheOffheapManager.CacheDataStore.cursor() |
GridCursor<? extends CacheDataRow> |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.cursor() |
GridCursor<? extends CacheDataRow> |
IgniteCacheOffheapManager.CacheDataStore.cursor(int cacheId) |
GridCursor<? extends CacheDataRow> |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.cursor(int cacheId) |
GridCursor<? extends CacheDataRow> |
IgniteCacheOffheapManager.CacheDataStore.cursor(int cacheId,
KeyCacheObject lower,
KeyCacheObject upper) |
GridCursor<? extends CacheDataRow> |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.cursor(int cacheId,
KeyCacheObject lower,
KeyCacheObject upper) |
GridCursor<? extends CacheDataRow> |
IgniteCacheOffheapManager.CacheDataStore.cursor(int cacheId,
KeyCacheObject lower,
KeyCacheObject upper,
Object x) |
GridCursor<? extends CacheDataRow> |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.cursor(int cacheId,
KeyCacheObject lower,
KeyCacheObject upper,
Object x) |
GridCursor<? extends CacheDataRow> |
IgniteCacheOffheapManager.CacheDataStore.cursor(int cacheId,
KeyCacheObject lower,
KeyCacheObject upper,
Object x,
MvccSnapshot snapshot) |
GridCursor<? extends CacheDataRow> |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.cursor(int cacheId,
KeyCacheObject lower,
KeyCacheObject upper,
Object x,
MvccSnapshot snapshot) |
GridCursor<? extends CacheDataRow> |
IgniteCacheOffheapManager.CacheDataStore.cursor(int cacheId,
MvccSnapshot mvccSnapshot) |
GridCursor<? extends CacheDataRow> |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.cursor(int cacheId,
MvccSnapshot mvccSnapshot) |
GridCursor<? extends CacheDataRow> |
IgniteCacheOffheapManager.CacheDataStore.cursor(MvccSnapshot mvccSnapshot) |
GridCursor<? extends CacheDataRow> |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.cursor(MvccSnapshot mvccSnapshot) |
GridCursor<? extends CacheDataRow> |
IgniteCacheOffheapManager.CacheDataStore.cursor(Object x) |
GridCursor<? extends CacheDataRow> |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.cursor(Object x) |
void |
IgniteCacheOffheapManager.CacheDataStore.destroy()
Destroys the tree associated with the store.
|
void |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.destroy()
Destroys the tree associated with the store.
|
void |
IgniteCacheOffheapManager.destroyCacheDataStore(IgniteCacheOffheapManager.CacheDataStore store) |
void |
IgniteCacheOffheapManagerImpl.destroyCacheDataStore(IgniteCacheOffheapManager.CacheDataStore store) |
protected void |
IgniteCacheOffheapManagerImpl.destroyCacheDataStore0(IgniteCacheOffheapManager.CacheDataStore store) |
protected void |
WalStateManager.WALDisableContext.disableWAL(boolean disable) |
void |
IgniteCacheOffheapManager.dropRootPageForIndex(int cacheId,
String idxName,
int segment) |
void |
IgniteCacheOffheapManagerImpl.dropRootPageForIndex(int cacheId,
String idxName,
int segment) |
void |
GridCacheProcessor.enableStatistics(Collection<String> cacheNames,
boolean enabled)
Enable/disable statistics globally for the caches
|
void |
GridCacheSharedContext.endTx(GridNearTxLocal tx) |
boolean |
CacheOffheapEvictionManager.evict(@Nullable GridCacheEntryEx entry,
@Nullable GridCacheVersion obsoleteVer,
boolean explicit,
@Nullable CacheEntryPredicate[] filter) |
boolean |
CacheEvictionManager.evict(@Nullable GridCacheEntryEx entry,
@Nullable GridCacheVersion obsoleteVer,
boolean explicit,
@Nullable CacheEntryPredicate[] filter) |
boolean |
GridCacheEvictionManager.evict(@Nullable GridCacheEntryEx entry,
@Nullable GridCacheVersion obsoleteVer,
boolean explicit,
@Nullable CacheEntryPredicate[] filter) |
boolean |
GridCacheEntryEx.evictInternal(GridCacheVersion obsoleteVer,
@Nullable CacheEntryPredicate[] filter,
boolean evictOffheap) |
boolean |
GridCacheMapEntry.evictInternal(GridCacheVersion obsoleteVer,
@Nullable CacheEntryPredicate[] filter,
boolean evictOffheap) |
void |
WalStateManager.WALDisableContext.execute(IgniteRunnable cls) |
boolean |
IgniteCacheOffheapManager.expire(GridCacheContext cctx,
IgniteInClosure2X<GridCacheEntryEx,GridCacheVersion> c,
int amount) |
boolean |
IgniteCacheOffheapManagerImpl.expire(GridCacheContext cctx,
IgniteInClosure2X<GridCacheEntryEx,GridCacheVersion> c,
int amount) |
long |
IgniteCacheOffheapManager.expiredSize()
Gets the number of entries pending expire.
|
long |
IgniteCacheOffheapManagerImpl.expiredSize()
Gets the number of entries pending expire.
|
CacheDataRow |
IgniteCacheOffheapManager.CacheDataStore.find(GridCacheContext cctx,
KeyCacheObject key) |
CacheDataRow |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.find(GridCacheContext cctx,
KeyCacheObject key) |
void |
CacheGroupContext.finishRecovery(AffinityTopologyVersion startVer,
UUID originalReceivedFrom,
boolean affinityNode)
Finishes recovery for current cache group.
|
void |
CacheObjectImpl.finishUnmarshal(CacheObjectValueContext ctx,
ClassLoader ldr) |
void |
KeyCacheObjectImpl.finishUnmarshal(CacheObjectValueContext ctx,
ClassLoader ldr) |
void |
CacheObjectByteArrayImpl.finishUnmarshal(CacheObjectValueContext ctx,
ClassLoader ldr) |
void |
CacheObject.finishUnmarshal(CacheObjectValueContext ctx,
ClassLoader ldr) |
void |
CacheEntryPredicateContainsValue.finishUnmarshal(GridCacheContext ctx,
ClassLoader ldr) |
void |
CacheInvokeDirectResult.finishUnmarshal(GridCacheContext ctx,
ClassLoader ldr) |
void |
CacheEvictionEntry.finishUnmarshal(GridCacheContext ctx,
ClassLoader ldr) |
void |
GridCacheReturn.finishUnmarshal(GridCacheContext ctx,
ClassLoader ldr) |
void |
CacheEntrySerializablePredicate.finishUnmarshal(GridCacheContext ctx,
ClassLoader ldr) |
void |
CacheEntryPredicateAdapter.finishUnmarshal(GridCacheContext ctx,
ClassLoader ldr) |
void |
CacheEntryPredicate.finishUnmarshal(GridCacheContext ctx,
ClassLoader ldr) |
void |
GridChangeGlobalStateMessageResponse.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridCacheMessage.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
protected void |
GridCacheMessage.finishUnmarshalCacheObjects(@Nullable Collection<? extends CacheObject> col,
GridCacheContext ctx,
ClassLoader ldr) |
void |
GridCacheMessage.finishUnmarshalCacheObjects(@Nullable List<? extends CacheObject> col,
GridCacheContext ctx,
ClassLoader ldr) |
V |
GridCacheAdapter.get(K key)
Retrieves value mapped to the specified key from cache.
|
V |
GridCacheProxyImpl.get(K key)
Retrieves value mapped to the specified key from cache.
|
V |
IgniteInternalCache.get(K key)
Retrieves value mapped to the specified key from cache.
|
protected V |
GridCacheAdapter.get(K key,
String taskName,
boolean deserializeBinary,
boolean needVer) |
Map<K,V> |
GridCacheAdapter.getAll(@Nullable Collection<? extends K> keys)
Retrieves values mapped to the specified keys from cache.
|
Map<K,V> |
GridCacheProxyImpl.getAll(@Nullable Collection<? extends K> keys)
Retrieves values mapped to the specified keys from cache.
|
Map<K,V> |
IgniteInternalCache.getAll(@Nullable Collection<? extends K> keys)
Retrieves values mapped to the specified keys from cache.
|
protected Map<K,V> |
GridCacheAdapter.getAll(Collection<? extends K> keys,
boolean deserializeBinary,
boolean needVer,
boolean recovery,
boolean readRepair) |
void |
QueryCursorImpl.getAll(QueryCursorEx.Consumer<T> clo)
Get all values passing them through passed consumer.
|
@Nullable Map<K,V> |
GridCacheAdapter.getAllOutTx(Set<? extends K> keys)
Gets values from cache.
|
@Nullable Map<K,V> |
GridCacheProxyImpl.getAllOutTx(Set<? extends K> keys)
Gets values from cache.
|
Map<K,V> |
IgniteInternalCache.getAllOutTx(Set<? extends K> keys)
Gets values from cache.
|
V |
GridCacheAdapter.getAndPut(K key,
V val)
Stores given key-value pair in cache.
|
V |
GridCacheProxyImpl.getAndPut(K key,
V val)
Stores given key-value pair in cache.
|
V |
IgniteInternalCache.getAndPut(K key,
V val)
Stores given key-value pair in cache.
|
V |
GridCacheAdapter.getAndPut(K key,
V val,
@Nullable CacheEntryPredicate filter) |
protected V |
GridCacheAdapter.getAndPut0(K key,
V val,
@Nullable CacheEntryPredicate filter) |
V |
GridCacheAdapter.getAndPutIfAbsent(K key,
V val)
Stores given key-value pair in cache only if cache had no previous mapping for it.
|
V |
GridCacheProxyImpl.getAndPutIfAbsent(K key,
V val)
Stores given key-value pair in cache only if cache had no previous mapping for it.
|
V |
IgniteInternalCache.getAndPutIfAbsent(K key,
V val)
Stores given key-value pair in cache only if cache had no previous mapping for it.
|
V |
GridCacheAdapter.getAndRemove(K key)
Removes given key mapping from cache.
|
V |
GridCacheProxyImpl.getAndRemove(K key)
Removes given key mapping from cache.
|
V |
IgniteInternalCache.getAndRemove(K key)
Removes given key mapping from cache.
|
protected V |
GridCacheAdapter.getAndRemove0(K key) |
V |
GridCacheAdapter.getAndReplace(K key,
V val)
Stores given key-value pair in cache only if there is a previous mapping for it.
|
V |
GridCacheProxyImpl.getAndReplace(K key,
V val)
Stores given key-value pair in cache only if there is a previous mapping for it.
|
V |
IgniteInternalCache.getAndReplace(K key,
V val)
Stores given key-value pair in cache only if there is a previous mapping for it.
|
CacheConfiguration |
GridCacheProcessor.getConfigFromTemplate(String cacheName) |
Collection<CacheEntry<K,V>> |
GridCacheAdapter.getEntries(@Nullable Collection<? extends K> keys)
Retrieves values mapped to the specified keys from cache.
|
Collection<CacheEntry<K,V>> |
GridCacheProxyImpl.getEntries(@Nullable Collection<? extends K> keys)
Retrieves values mapped to the specified keys from cache.
|
Collection<CacheEntry<K,V>> |
IgniteInternalCache.getEntries(@Nullable Collection<? extends K> keys)
Retrieves values mapped to the specified keys from cache.
|
@Nullable CacheEntry<K,V> |
GridCacheAdapter.getEntry(K key)
Retrieves value mapped to the specified key from cache.
|
@Nullable CacheEntry<K,V> |
GridCacheProxyImpl.getEntry(K key)
Retrieves value mapped to the specified key from cache.
|
@Nullable CacheEntry<K,V> |
IgniteInternalCache.getEntry(K key)
Retrieves value mapped to the specified key from cache.
|
V |
GridCacheAdapter.getForcePrimary(K key)
Gets value from cache.
|
V |
GridCacheProxyImpl.getForcePrimary(K key)
Gets value from cache.
|
V |
IgniteInternalCache.getForcePrimary(K key)
Gets value from cache.
|
<K,V> IgniteInternalCache<K,V> |
GridCacheProcessor.getOrStartCache(String name) |
<K,V> IgniteInternalCache<K,V> |
GridCacheProcessor.getOrStartCache(String name,
CacheConfiguration ccfg) |
IgniteCacheProxy<?,?> |
GridCacheProcessor.getOrStartPublicCache(boolean start,
boolean inclLoc)
Gets public cache that can be used for query execution.
|
protected @Nullable IgniteHistoricalIterator |
IgniteCacheOffheapManagerImpl.historicalIterator(CachePartitionPartialCountersMap partCntrs,
Set<Integer> missing) |
Iterator<javax.cache.Cache.Entry<K,V>> |
GridCacheAdapter.igniteIterator() |
Iterator<javax.cache.Cache.Entry<K,V>> |
GridCacheAdapter.igniteIterator(boolean keepBinary) |
IgniteInternalFuture<Map<Integer,Map<Integer,List<UUID>>>> |
CacheAffinitySharedManager.initAffinityOnNodeLeft(GridDhtPartitionsExchangeFuture fut) |
IgniteInternalFuture<?> |
CacheAffinitySharedManager.initCoordinatorCaches(GridDhtPartitionsExchangeFuture fut,
boolean newAff) |
protected void |
IgniteCacheOffheapManagerImpl.initDataStructures() |
static void |
GridCacheUtils.initializeConfigDefaults(IgniteLogger log,
CacheConfiguration cfg,
CacheObjectContext cacheObjCtx) |
default boolean |
GridCacheEntryEx.initialValue(CacheObject val,
GridCacheVersion ver,
long ttl,
long expireTime,
boolean preload,
AffinityTopologyVersion topVer,
GridDrType drType,
boolean fromStore)
Sets new value if current version is 0
|
default boolean |
GridCacheEntryEx.initialValue(CacheObject val,
GridCacheVersion ver,
@Nullable MvccVersion mvccVer,
@Nullable MvccVersion newMvccVer,
byte mvccTxState,
byte newMvccTxState,
long ttl,
long expireTime,
boolean preload,
AffinityTopologyVersion topVer,
GridDrType drType,
boolean fromStore)
Sets new value if current version is 0
|
boolean |
GridCacheEntryEx.initialValue(CacheObject val,
GridCacheVersion ver,
@Nullable MvccVersion mvccVer,
@Nullable MvccVersion newMvccVer,
byte mvccTxState,
byte newMvccTxState,
long ttl,
long expireTime,
boolean preload,
AffinityTopologyVersion topVer,
GridDrType drType,
boolean fromStore,
@Nullable CacheDataRow row)
Sets new value if current version is 0
|
boolean |
GridCacheMapEntry.initialValue(CacheObject val,
GridCacheVersion ver,
MvccVersion mvccVer,
MvccVersion newMvccVer,
byte mvccTxState,
byte newMvccTxState,
long ttl,
long expireTime,
boolean preload,
AffinityTopologyVersion topVer,
GridDrType drType,
boolean fromStore,
CacheDataRow row)
Sets new value if current version is 0
|
protected void |
IgniteCacheOffheapManagerImpl.initPendingTree(GridCacheContext cctx) |
IgniteInternalFuture<?> |
CacheAffinitySharedManager.initStartedCaches(boolean crd,
GridDhtPartitionsExchangeFuture fut,
Collection<DynamicCacheDescriptor> descs)
Initialized affinity for cache received from node joining on this exchange.
|
CacheObject |
GridCacheEntryEx.innerGet(@Nullable GridCacheVersion ver,
@Nullable IgniteInternalTx tx,
boolean readThrough,
boolean updateMetrics,
boolean evt,
UUID subjId,
Object transformClo,
String taskName,
@Nullable IgniteCacheExpiryPolicy expiryPlc,
boolean keepBinary) |
CacheObject |
GridCacheMapEntry.innerGet(@Nullable GridCacheVersion ver,
@Nullable IgniteInternalTx tx,
boolean readThrough,
boolean updateMetrics,
boolean evt,
UUID subjId,
Object transformClo,
String taskName,
@Nullable IgniteCacheExpiryPolicy expirePlc,
boolean keepBinary) |
EntryGetResult |
GridCacheEntryEx.innerGetAndReserveForLoad(boolean updateMetrics,
boolean evt,
UUID subjId,
String taskName,
@Nullable IgniteCacheExpiryPolicy expiryPlc,
boolean keepBinary,
@Nullable ReaderArguments readerArgs) |
EntryGetResult |
GridCacheMapEntry.innerGetAndReserveForLoad(boolean updateMetrics,
boolean evt,
UUID subjId,
String taskName,
@Nullable IgniteCacheExpiryPolicy expiryPlc,
boolean keepBinary,
@Nullable ReaderArguments readerArgs) |
EntryGetResult |
GridCacheEntryEx.innerGetVersioned(@Nullable GridCacheVersion ver,
IgniteInternalTx tx,
boolean updateMetrics,
boolean evt,
UUID subjId,
Object transformClo,
String taskName,
@Nullable IgniteCacheExpiryPolicy expiryPlc,
boolean keepBinary,
@Nullable ReaderArguments readerArgs) |
EntryGetResult |
GridCacheMapEntry.innerGetVersioned(@Nullable GridCacheVersion ver,
IgniteInternalTx tx,
boolean updateMetrics,
boolean evt,
UUID subjId,
Object transformClo,
String taskName,
@Nullable IgniteCacheExpiryPolicy expiryPlc,
boolean keepBinary,
@Nullable ReaderArguments readerArgs) |
@Nullable CacheObject |
GridCacheEntryEx.innerReload()
Reloads entry from underlying storage.
|
@Nullable CacheObject |
GridCacheMapEntry.innerReload()
Reloads entry from underlying storage.
|
GridCacheUpdateTxResult |
GridCacheEntryEx.innerRemove(@Nullable IgniteInternalTx tx,
UUID evtNodeId,
UUID affNodeId,
boolean retval,
boolean evt,
boolean metrics,
boolean keepBinary,
boolean oldValPresent,
@Nullable CacheObject oldVal,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
@Nullable GridCacheVersion explicitVer,
@Nullable UUID subjId,
String taskName,
@Nullable GridCacheVersion dhtVer,
@Nullable Long updateCntr) |
GridCacheUpdateTxResult |
GridCacheMapEntry.innerRemove(@Nullable IgniteInternalTx tx,
UUID evtNodeId,
UUID affNodeId,
boolean retval,
boolean evt,
boolean metrics,
boolean keepBinary,
boolean oldValPresent,
@Nullable CacheObject oldVal,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
@Nullable GridCacheVersion explicitVer,
@Nullable UUID subjId,
String taskName,
@Nullable GridCacheVersion dhtVer,
@Nullable Long updateCntr) |
GridCacheUpdateTxResult |
GridCacheEntryEx.innerSet(@Nullable IgniteInternalTx tx,
UUID evtNodeId,
UUID affNodeId,
@Nullable CacheObject val,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
boolean keepBinary,
boolean oldValPresent,
@Nullable CacheObject oldVal,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
long drExpireTime,
@Nullable GridCacheVersion explicitVer,
@Nullable UUID subjId,
String taskName,
@Nullable GridCacheVersion dhtVer,
@Nullable Long updateCntr) |
GridCacheUpdateTxResult |
GridCacheMapEntry.innerSet(@Nullable IgniteInternalTx tx,
UUID evtNodeId,
UUID affNodeId,
CacheObject val,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
boolean keepBinary,
boolean oldValPresent,
@Nullable CacheObject oldVal,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
long drExpireTime,
@Nullable GridCacheVersion explicitVer,
@Nullable UUID subjId,
String taskName,
@Nullable GridCacheVersion dhtVer,
@Nullable Long updateCntr) |
GridCacheUpdateAtomicResult |
GridCacheEntryEx.innerUpdate(GridCacheVersion ver,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
@Nullable Object val,
@Nullable Object[] invokeArgs,
boolean writeThrough,
boolean readThrough,
boolean retval,
boolean keepBinary,
@Nullable IgniteCacheExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
boolean primary,
boolean checkVer,
AffinityTopologyVersion topVer,
@Nullable CacheEntryPredicate[] filter,
GridDrType drType,
long conflictTtl,
long conflictExpireTime,
@Nullable GridCacheVersion conflictVer,
boolean conflictResolve,
boolean intercept,
@Nullable UUID subjId,
String taskName,
@Nullable CacheObject prevVal,
@Nullable Long updateCntr,
@Nullable GridDhtAtomicAbstractUpdateFuture fut,
boolean transformOp) |
GridCacheUpdateAtomicResult |
GridCacheMapEntry.innerUpdate(GridCacheVersion newVer,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
@Nullable Object writeObj,
@Nullable Object[] invokeArgs,
boolean writeThrough,
boolean readThrough,
boolean retval,
boolean keepBinary,
@Nullable IgniteCacheExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
boolean primary,
boolean verCheck,
AffinityTopologyVersion topVer,
@Nullable CacheEntryPredicate[] filter,
GridDrType drType,
long explicitTtl,
long explicitExpireTime,
@Nullable GridCacheVersion conflictVer,
boolean conflictResolve,
boolean intercept,
@Nullable UUID subjId,
String taskName,
@Nullable CacheObject prevVal,
@Nullable Long updateCntr,
@Nullable GridDhtAtomicAbstractUpdateFuture fut,
boolean transformOp) |
GridTuple3<Boolean,Object,javax.cache.processor.EntryProcessorResult<Object>> |
GridCacheEntryEx.innerUpdateLocal(GridCacheVersion ver,
GridCacheOperation op,
@Nullable Object writeObj,
@Nullable Object[] invokeArgs,
boolean writeThrough,
boolean readThrough,
boolean retval,
boolean keepBinary,
@Nullable javax.cache.expiry.ExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
@Nullable CacheEntryPredicate[] filter,
boolean intercept,
@Nullable UUID subjId,
String taskName,
boolean transformOp)
Update method for local cache in atomic mode.
|
GridTuple3<Boolean,Object,javax.cache.processor.EntryProcessorResult<Object>> |
GridCacheMapEntry.innerUpdateLocal(GridCacheVersion ver,
GridCacheOperation op,
@Nullable Object writeObj,
@Nullable Object[] invokeArgs,
boolean writeThrough,
boolean readThrough,
boolean retval,
boolean keepBinary,
@Nullable javax.cache.expiry.ExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
@Nullable CacheEntryPredicate[] filter,
boolean intercept,
@Nullable UUID subjId,
String taskName,
boolean transformOp)
Update method for local cache in atomic mode.
|
void |
IgniteCacheOffheapManager.CacheDataStore.insertRows(Collection<DataRowCacheAware> rows,
IgnitePredicateX<CacheDataRow> initPred)
Insert rows into page memory.
|
void |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.insertRows(Collection<DataRowCacheAware> rows,
IgnitePredicateX<CacheDataRow> initPred)
Insert rows into page memory.
|
static <K,V> void |
GridCacheUtils.inTx(Ignite ignite,
IgniteCache<K,V> cache,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
IgniteInClosureX<IgniteCache<K,V>> clo)
Execute closure inside cache transaction.
|
static <K,V> void |
GridCacheUtils.inTx(IgniteInternalCache<K,V> cache,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
IgniteInClosureX<IgniteInternalCache<K,V>> clo)
Execute closure inside cache transaction.
|
boolean |
GridCacheEntryEx.invalidate(GridCacheVersion newVer)
Invalidates this entry.
|
boolean |
GridCacheMapEntry.invalidate(GridCacheVersion newVer)
Invalidates this entry.
|
<T> @Nullable javax.cache.processor.EntryProcessorResult<T> |
GridCacheAdapter.invoke(@Nullable AffinityTopologyVersion topVer,
K key,
javax.cache.processor.EntryProcessor<K,V,T> entryProcessor,
Object... args) |
<T> @Nullable javax.cache.processor.EntryProcessorResult<T> |
GridCacheProxyImpl.invoke(AffinityTopologyVersion topVer,
K key,
javax.cache.processor.EntryProcessor<K,V,T> entryProcessor,
Object... args) |
<T> @Nullable javax.cache.processor.EntryProcessorResult<T> |
IgniteInternalCache.invoke(@Nullable AffinityTopologyVersion topVer,
K key,
javax.cache.processor.EntryProcessor<K,V,T> entryProcessor,
Object... args) |
void |
IgniteCacheOffheapManager.invoke(GridCacheContext cctx,
KeyCacheObject key,
GridDhtLocalPartition part,
IgniteCacheOffheapManager.OffheapInvokeClosure c) |
void |
IgniteCacheOffheapManagerImpl.invoke(GridCacheContext cctx,
KeyCacheObject key,
GridDhtLocalPartition part,
IgniteCacheOffheapManager.OffheapInvokeClosure c) |
void |
IgniteCacheOffheapManager.CacheDataStore.invoke(GridCacheContext cctx,
KeyCacheObject key,
IgniteCacheOffheapManager.OffheapInvokeClosure c) |
void |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.invoke(GridCacheContext cctx,
KeyCacheObject key,
IgniteCacheOffheapManager.OffheapInvokeClosure c) |
<T> javax.cache.processor.EntryProcessorResult<T> |
GridCacheAdapter.invoke(K key,
javax.cache.processor.EntryProcessor<K,V,T> entryProcessor,
Object... args) |
<T> javax.cache.processor.EntryProcessorResult<T> |
GridCacheProxyImpl.invoke(K key,
javax.cache.processor.EntryProcessor<K,V,T> entryProcessor,
Object... args) |
<T> @Nullable javax.cache.processor.EntryProcessorResult<T> |
IgniteInternalCache.invoke(K key,
javax.cache.processor.EntryProcessor<K,V,T> entryProcessor,
Object... args) |
<T> Map<K,javax.cache.processor.EntryProcessorResult<T>> |
GridCacheAdapter.invokeAll(Map<? extends K,? extends javax.cache.processor.EntryProcessor<K,V,T>> map,
Object... args) |
<T> Map<K,javax.cache.processor.EntryProcessorResult<T>> |
GridCacheProxyImpl.invokeAll(Map<? extends K,? extends javax.cache.processor.EntryProcessor<K,V,T>> map,
Object... args) |
<T> Map<K,javax.cache.processor.EntryProcessorResult<T>> |
IgniteInternalCache.invokeAll(Map<? extends K,? extends javax.cache.processor.EntryProcessor<K,V,T>> map,
Object... args) |
<T> Map<K,javax.cache.processor.EntryProcessorResult<T>> |
GridCacheAdapter.invokeAll(Set<? extends K> keys,
javax.cache.processor.EntryProcessor<K,V,T> entryProcessor,
Object... args) |
<T> Map<K,javax.cache.processor.EntryProcessorResult<T>> |
GridCacheProxyImpl.invokeAll(Set<? extends K> keys,
javax.cache.processor.EntryProcessor<K,V,T> entryProcessor,
Object... args) |
<T> Map<K,javax.cache.processor.EntryProcessorResult<T>> |
IgniteInternalCache.invokeAll(Set<? extends K> keys,
javax.cache.processor.EntryProcessor<K,V,T> entryProcessor,
Object... args) |
<E> boolean |
GridCacheContext.isAll(E e,
@Nullable IgnitePredicate<? super E>[] p)
Same as
GridFunc.isAll(Object, IgnitePredicate[]), but safely unwraps exceptions. |
boolean |
GridCacheContext.isAll(GridCacheEntryEx e,
CacheEntryPredicate[] p) |
boolean |
GridCacheContext.isAllLocked(GridCacheEntryEx e,
CacheEntryPredicate[] p) |
Iterable<javax.cache.Cache.Entry<K,V>> |
GridCacheAdapter.localEntries(CachePeekMode[] peekModes) |
Iterable<javax.cache.Cache.Entry<K,V>> |
GridCacheProxyImpl.localEntries(CachePeekMode[] peekModes) |
Iterable<javax.cache.Cache.Entry<K,V>> |
IgniteInternalCache.localEntries(CachePeekMode[] peekModes) |
void |
GridCacheAdapter.localLoad(Collection<? extends K> keys,
@Nullable javax.cache.expiry.ExpiryPolicy plc,
boolean keepBinary) |
void |
IgniteInternalCache.localLoadCache(@Nullable IgniteBiPredicate<K,V> p,
Object... args)
Delegates to
CacheStore.loadCache(IgniteBiInClosure, Object...) method
to load state from the underlying persistent storage. |
void |
GridCacheAdapter.localLoadCache(IgniteBiPredicate<K,V> p,
Object[] args)
Delegates to
CacheStore.loadCache(IgniteBiInClosure, Object...) method
to load state from the underlying persistent storage. |
void |
GridCacheProxyImpl.localLoadCache(IgniteBiPredicate<K,V> p,
@Nullable Object[] args)
Delegates to
CacheStore.loadCache(IgniteBiInClosure, Object...) method
to load state from the underlying persistent storage. |
V |
GridCacheAdapter.localPeek(K key,
CachePeekMode[] peekModes) |
V |
GridCacheProxyImpl.localPeek(K key,
CachePeekMode[] peekModes) |
V |
IgniteInternalCache.localPeek(K key,
CachePeekMode[] peekModes) |
boolean |
GridCacheAdapter.localPreloadPartition(int part)
Preloads cache partition if it exists on local node.
|
boolean |
GridCacheProxyImpl.localPreloadPartition(int part)
Preloads cache partition if it exists on local node.
|
boolean |
IgniteInternalCache.localPreloadPartition(int part)
Preloads cache partition if it exists on local node.
|
int |
GridCacheAdapter.localSize(CachePeekMode[] peekModes) |
int |
GridCacheProxyImpl.localSize(CachePeekMode[] peekModes) |
int |
IgniteInternalCache.localSize(CachePeekMode[] peekModes) |
long |
GridCacheProxyImpl.localSizeLong(CachePeekMode[] peekModes) |
long |
IgniteInternalCache.localSizeLong(CachePeekMode[] peekModes) |
long |
GridCacheProxyImpl.localSizeLong(int partition,
CachePeekMode[] peekModes) |
long |
IgniteInternalCache.localSizeLong(int partition,
CachePeekMode[] peekModes) |
boolean |
GridCacheAdapter.lock(K key,
long timeout)
Synchronously acquires lock on a cached object with given
key only if the passed in filter (if any) passes.
|
boolean |
GridCacheProxyImpl.lock(K key,
long timeout)
Synchronously acquires lock on a cached object with given
key only if the passed in filter (if any) passes.
|
boolean |
IgniteInternalCache.lock(K key,
long timeout)
Synchronously acquires lock on a cached object with given
key only if the passed in filter (if any) passes.
|
boolean |
GridCacheAdapter.lockAll(@Nullable Collection<? extends K> keys,
long timeout)
All or nothing synchronous lock for passed in keys.
|
boolean |
GridCacheProxyImpl.lockAll(@Nullable Collection<? extends K> keys,
long timeout)
All or nothing synchronous lock for passed in keys.
|
boolean |
IgniteInternalCache.lockAll(@Nullable Collection<? extends K> keys,
long timeout)
All or nothing synchronous lock for passed in keys.
|
protected WALPointer |
GridCacheMapEntry.logMvccUpdate(IgniteInternalTx tx,
CacheObject val,
long expireTime,
long updCntr,
MvccSnapshot mvccVer) |
protected WALPointer |
GridCacheMapEntry.logTxUpdate(IgniteInternalTx tx,
CacheObject val,
long expireTime,
long updCntr) |
protected void |
GridCacheMapEntry.logUpdate(GridCacheOperation op,
CacheObject val,
GridCacheVersion writeVer,
long expireTime,
long updCntr) |
void |
IgniteCacheOffheapManager.CacheDataStore.markDestroyed()
Mark store as destroyed.
|
boolean |
GridCacheEntryEx.markObsoleteIfEmpty(@Nullable GridCacheVersion ver)
Sets obsolete flag if entry value is
null or entry is expired and no
locks are held. |
boolean |
GridCacheMapEntry.markObsoleteIfEmpty(@Nullable GridCacheVersion obsoleteVer)
Sets obsolete flag if entry value is
null or entry is expired and no
locks are held. |
void |
GridCacheEntryInfo.marshal(CacheObjectContext ctx) |
void |
GridCacheEntryInfo.marshal(GridCacheContext ctx) |
static byte[] |
GridCacheUtils.marshal(GridCacheContext ctx,
Object obj) |
static byte[] |
GridCacheUtils.marshal(GridCacheSharedContext ctx,
boolean depEnabled,
Object obj) |
protected @Nullable List<byte[]> |
GridCacheMessage.marshalCollection(@Nullable Collection<?> col,
GridCacheContext ctx) |
protected void |
GridCacheMessage.marshalInfo(GridCacheEntryInfo info,
GridCacheSharedContext ctx,
CacheObjectContext cacheObjCtx) |
protected void |
GridCacheMessage.marshalInfos(Iterable<? extends GridCacheEntryInfo> infos,
GridCacheSharedContext ctx,
CacheObjectContext cacheObjCtx) |
protected @Nullable byte[][] |
GridCacheMessage.marshalInvokeArguments(@Nullable Object[] args,
GridCacheContext ctx) |
int |
GridCacheEntryInfo.marshalledSize(CacheObjectContext ctx) |
int |
GridCacheMvccEntryInfo.marshalledSize(CacheObjectContext ctx) |
protected void |
GridCacheMessage.marshalTx(Iterable<IgniteTxEntry> txEntries,
GridCacheSharedContext ctx) |
int |
GridCacheEntryEx.memorySize() |
int |
GridCacheMapEntry.memorySize() |
List<IgniteBiTuple<Object,MvccVersion>> |
IgniteCacheOffheapManager.mvccAllVersions(GridCacheContext cctx,
KeyCacheObject key)
For testing only.
|
List<IgniteBiTuple<Object,MvccVersion>> |
IgniteCacheOffheapManagerImpl.mvccAllVersions(GridCacheContext cctx,
KeyCacheObject key)
For testing only.
|
GridCursor<CacheDataRow> |
IgniteCacheOffheapManager.mvccAllVersionsCursor(GridCacheContext cctx,
KeyCacheObject key,
Object x)
Returns iterator over the all row versions for the given key.
|
GridCursor<CacheDataRow> |
IgniteCacheOffheapManager.CacheDataStore.mvccAllVersionsCursor(GridCacheContext cctx,
KeyCacheObject key,
Object x)
Returns iterator over the all row versions for the given key.
|
GridCursor<CacheDataRow> |
IgniteCacheOffheapManagerImpl.mvccAllVersionsCursor(GridCacheContext cctx,
KeyCacheObject key,
Object x)
Returns iterator over the all row versions for the given key.
|
GridCursor<CacheDataRow> |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.mvccAllVersionsCursor(GridCacheContext cctx,
KeyCacheObject key,
Object x)
Returns iterator over the all row versions for the given key.
|
boolean |
IgniteCacheOffheapManager.CacheDataStore.mvccApplyHistoryIfAbsent(GridCacheContext cctx,
KeyCacheObject key,
List<GridCacheMvccEntryInfo> hist)
Tries to apply entry history.
|
boolean |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.mvccApplyHistoryIfAbsent(GridCacheContext cctx,
KeyCacheObject key,
List<GridCacheMvccEntryInfo> hist)
Tries to apply entry history.
|
boolean |
IgniteCacheOffheapManager.mvccApplyHistoryIfAbsent(GridCacheMapEntry entry,
List<GridCacheMvccEntryInfo> hist)
Tries to apply entry history.
|
boolean |
IgniteCacheOffheapManagerImpl.mvccApplyHistoryIfAbsent(GridCacheMapEntry entry,
List<GridCacheMvccEntryInfo> hist)
Tries to apply entry history.
|
void |
IgniteCacheOffheapManager.mvccApplyUpdate(GridCacheContext cctx,
KeyCacheObject key,
CacheObject val,
GridCacheVersion ver,
long expireTime,
GridDhtLocalPartition part,
MvccVersion mvccVer) |
void |
IgniteCacheOffheapManagerImpl.mvccApplyUpdate(GridCacheContext cctx,
KeyCacheObject key,
CacheObject val,
GridCacheVersion ver,
long expireTime,
GridDhtLocalPartition part,
MvccVersion mvccVer) |
void |
IgniteCacheOffheapManager.CacheDataStore.mvccApplyUpdate(GridCacheContext cctx,
KeyCacheObject key,
CacheObject val,
GridCacheVersion ver,
long expireTime,
MvccVersion mvccVer) |
void |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.mvccApplyUpdate(GridCacheContext cctx,
KeyCacheObject key,
CacheObject val,
GridCacheVersion ver,
long expireTime,
MvccVersion mvccVer) |
CacheDataRow |
IgniteCacheOffheapManager.CacheDataStore.mvccFind(GridCacheContext cctx,
KeyCacheObject key,
MvccSnapshot snapshot) |
CacheDataRow |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.mvccFind(GridCacheContext cctx,
KeyCacheObject key,
MvccSnapshot snapshot) |
List<IgniteBiTuple<Object,MvccVersion>> |
IgniteCacheOffheapManager.CacheDataStore.mvccFindAllVersions(GridCacheContext cctx,
KeyCacheObject key)
For testing only.
|
List<IgniteBiTuple<Object,MvccVersion>> |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.mvccFindAllVersions(GridCacheContext cctx,
KeyCacheObject key)
For testing only.
|
boolean |
IgniteCacheOffheapManager.CacheDataStore.mvccInitialValue(GridCacheContext cctx,
KeyCacheObject key,
@Nullable CacheObject val,
GridCacheVersion ver,
long expireTime,
MvccVersion mvccVer,
MvccVersion newMvccVer) |
boolean |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.mvccInitialValue(GridCacheContext cctx,
KeyCacheObject key,
@Nullable CacheObject val,
GridCacheVersion ver,
long expireTime,
MvccVersion mvccVer,
MvccVersion newMvccVer) |
boolean |
IgniteCacheOffheapManager.mvccInitialValue(GridCacheMapEntry entry,
@Nullable CacheObject val,
GridCacheVersion ver,
long expireTime,
MvccVersion mvccVer,
MvccVersion newMvccVer) |
boolean |
IgniteCacheOffheapManagerImpl.mvccInitialValue(GridCacheMapEntry entry,
CacheObject val,
GridCacheVersion ver,
long expireTime,
MvccVersion mvccVer,
MvccVersion newMvccVer) |
MvccUpdateResult |
IgniteCacheOffheapManager.CacheDataStore.mvccLock(GridCacheContext cctx,
KeyCacheObject key,
MvccSnapshot mvccSnapshot) |
MvccUpdateResult |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.mvccLock(GridCacheContext cctx,
KeyCacheObject key,
MvccSnapshot mvccSnapshot) |
@Nullable MvccUpdateResult |
IgniteCacheOffheapManager.mvccLock(GridCacheMapEntry entry,
MvccSnapshot mvccSnapshot) |
@Nullable MvccUpdateResult |
IgniteCacheOffheapManagerImpl.mvccLock(GridCacheMapEntry entry,
MvccSnapshot mvccSnapshot) |
GridCacheUpdateTxResult |
GridCacheEntryEx.mvccLock(GridDhtTxLocalAdapter tx,
MvccSnapshot mvccVer) |
GridCacheUpdateTxResult |
GridCacheMapEntry.mvccLock(GridDhtTxLocalAdapter tx,
MvccSnapshot mvccVer) |
@Nullable CacheObject |
GridCacheEntryEx.mvccPeek(boolean onheapOnly)
Retrieves the last committed MVCC entry version.
|
@Nullable CacheObject |
GridCacheMapEntry.mvccPeek(boolean onheapOnly)
Retrieves the last committed MVCC entry version.
|
boolean |
GridCacheEntryEx.mvccPreloadEntry(List<GridCacheMvccEntryInfo> entries)
Apply entry history if not exists.
|
boolean |
GridCacheMapEntry.mvccPreloadEntry(List<GridCacheMvccEntryInfo> entryHist)
Apply entry history if not exists.
|
@Nullable CacheDataRow |
IgniteCacheOffheapManager.mvccRead(GridCacheContext cctx,
KeyCacheObject key,
MvccSnapshot mvccSnapshot) |
@Nullable CacheDataRow |
IgniteCacheOffheapManagerImpl.mvccRead(GridCacheContext cctx,
KeyCacheObject key,
MvccSnapshot mvccSnapshot) |
MvccUpdateResult |
IgniteCacheOffheapManager.CacheDataStore.mvccRemove(GridCacheContext cctx,
KeyCacheObject key,
MvccSnapshot mvccSnapshot,
@Nullable CacheEntryPredicate filter,
boolean primary,
boolean needHistory,
boolean needOldVal,
boolean retVal) |
MvccUpdateResult |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.mvccRemove(GridCacheContext cctx,
KeyCacheObject key,
MvccSnapshot mvccSnapshot,
@Nullable CacheEntryPredicate filter,
boolean primary,
boolean needHistory,
boolean needOldVal,
boolean retVal) |
@Nullable MvccUpdateResult |
IgniteCacheOffheapManager.mvccRemove(GridCacheMapEntry entry,
MvccSnapshot mvccSnapshot,
boolean primary,
boolean needHist,
boolean needOldVal,
@Nullable CacheEntryPredicate filter,
boolean retVal) |
MvccUpdateResult |
IgniteCacheOffheapManagerImpl.mvccRemove(GridCacheMapEntry entry,
MvccSnapshot mvccSnapshot,
boolean primary,
boolean needHistory,
boolean needOldVal,
@Nullable CacheEntryPredicate filter,
boolean retVal) |
GridCacheUpdateTxResult |
GridCacheEntryEx.mvccRemove(@Nullable IgniteInternalTx tx,
UUID affNodeId,
AffinityTopologyVersion topVer,
MvccSnapshot mvccVer,
boolean needHist,
boolean needOldValue,
@Nullable CacheEntryPredicate filter,
boolean retVal) |
GridCacheUpdateTxResult |
GridCacheMapEntry.mvccRemove(IgniteInternalTx tx,
UUID affNodeId,
AffinityTopologyVersion topVer,
MvccSnapshot mvccVer,
boolean needHistory,
boolean needOldVal,
@Nullable CacheEntryPredicate filter,
boolean retVal) |
void |
IgniteCacheOffheapManager.CacheDataStore.mvccRemoveAll(GridCacheContext cctx,
KeyCacheObject key) |
void |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.mvccRemoveAll(GridCacheContext cctx,
KeyCacheObject key) |
void |
IgniteCacheOffheapManager.mvccRemoveAll(GridCacheMapEntry entry) |
void |
IgniteCacheOffheapManagerImpl.mvccRemoveAll(GridCacheMapEntry entry) |
GridCacheUpdateTxResult |
GridCacheEntryEx.mvccSet(@Nullable IgniteInternalTx tx,
UUID affNodeId,
CacheObject val,
javax.cache.processor.EntryProcessor entryProc,
Object[] invokeArgs,
long ttl0,
AffinityTopologyVersion topVer,
MvccSnapshot mvccVer,
GridCacheOperation op,
boolean needHistory,
boolean noCreate,
boolean needOldVal,
@Nullable CacheEntryPredicate filter,
boolean retVal,
boolean keepBinary) |
GridCacheUpdateTxResult |
GridCacheMapEntry.mvccSet(IgniteInternalTx tx,
UUID affNodeId,
CacheObject val,
javax.cache.processor.EntryProcessor entryProc,
Object[] invokeArgs,
long ttl0,
AffinityTopologyVersion topVer,
MvccSnapshot mvccVer,
GridCacheOperation op,
boolean needHistory,
boolean noCreate,
boolean needOldVal,
CacheEntryPredicate filter,
boolean retVal,
boolean keepBinary) |
MvccUpdateResult |
IgniteCacheOffheapManager.CacheDataStore.mvccUpdate(GridCacheContext cctx,
KeyCacheObject key,
CacheObject val,
GridCacheVersion ver,
long expireTime,
MvccSnapshot mvccSnapshot,
@Nullable CacheEntryPredicate filter,
javax.cache.processor.EntryProcessor entryProc,
Object[] invokeArgs,
boolean primary,
boolean needHist,
boolean noCreate,
boolean needOldVal,
boolean retVal,
boolean keepBinary) |
MvccUpdateResult |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.mvccUpdate(GridCacheContext cctx,
KeyCacheObject key,
CacheObject val,
GridCacheVersion ver,
long expireTime,
MvccSnapshot mvccSnapshot,
@Nullable CacheEntryPredicate filter,
javax.cache.processor.EntryProcessor entryProc,
Object[] invokeArgs,
boolean primary,
boolean needHistory,
boolean noCreate,
boolean needOldVal,
boolean retVal,
boolean keepBinary) |
MvccUpdateResult |
IgniteCacheOffheapManager.mvccUpdate(GridCacheMapEntry entry,
CacheObject val,
GridCacheVersion ver,
long expireTime,
MvccSnapshot mvccSnapshot,
boolean primary,
boolean needHist,
boolean noCreate,
boolean needOldVal,
@Nullable CacheEntryPredicate filter,
boolean retVal,
boolean keepBinary,
javax.cache.processor.EntryProcessor entryProc,
Object[] invokeArgs) |
MvccUpdateResult |
IgniteCacheOffheapManagerImpl.mvccUpdate(GridCacheMapEntry entry,
CacheObject val,
GridCacheVersion ver,
long expireTime,
MvccSnapshot mvccSnapshot,
boolean primary,
boolean needHistory,
boolean noCreate,
boolean needOldVal,
@Nullable CacheEntryPredicate filter,
boolean retVal,
boolean keepBinary,
javax.cache.processor.EntryProcessor entryProc,
Object[] invokeArgs) |
GridCacheUpdateTxResult |
GridCacheEntryEx.mvccUpdateRowsWithPreloadInfo(IgniteInternalTx tx,
UUID affNodeId,
AffinityTopologyVersion topVer,
List<GridCacheEntryInfo> entries,
GridCacheOperation op,
MvccSnapshot mvccVer,
IgniteUuid futId,
int batchNum) |
GridCacheUpdateTxResult |
GridCacheMapEntry.mvccUpdateRowsWithPreloadInfo(IgniteInternalTx tx,
UUID affNodeId,
AffinityTopologyVersion topVer,
List<GridCacheEntryInfo> entries,
GridCacheOperation op,
MvccSnapshot mvccVer,
IgniteUuid futId,
int batchNum) |
boolean |
IgniteCacheOffheapManager.CacheDataStore.mvccUpdateRowWithPreloadInfo(GridCacheContext cctx,
KeyCacheObject key,
@Nullable CacheObject val,
GridCacheVersion ver,
long expireTime,
MvccVersion mvccVer,
MvccVersion newMvccVer,
byte mvccTxState,
byte newMvccTxState)
Apply update with full history.
|
boolean |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.mvccUpdateRowWithPreloadInfo(GridCacheContext cctx,
KeyCacheObject key,
@Nullable CacheObject val,
GridCacheVersion ver,
long expireTime,
MvccVersion mvccVer,
MvccVersion newMvccVer,
byte mvccTxState,
byte newMvccTxState)
Apply update with full history.
|
boolean |
IgniteCacheOffheapManager.mvccUpdateRowWithPreloadInfo(GridCacheMapEntry entry,
@Nullable CacheObject val,
GridCacheVersion ver,
long expireTime,
MvccVersion mvccVer,
MvccVersion newMvccVer,
byte mvccTxState,
byte newMvccTxState)
Apply update with full history.
|
boolean |
IgniteCacheOffheapManagerImpl.mvccUpdateRowWithPreloadInfo(GridCacheMapEntry entry,
@Nullable CacheObject val,
GridCacheVersion ver,
long expireTime,
MvccVersion mvccVer,
MvccVersion newMvccVer,
byte mvccTxState,
byte newMvccTxState)
Apply update with full history.
|
IgniteInternalFuture<?> |
CacheAffinitySharedManager.onCacheChangeRequest(GridDhtPartitionsExchangeFuture fut,
boolean crd,
ExchangeActions exchActions)
Called on exchange initiated for cache start/stop request.
|
void |
IgniteCacheOffheapManager.onCacheStarted(GridCacheContext cctx) |
void |
IgniteCacheOffheapManagerImpl.onCacheStarted(GridCacheContext cctx) |
boolean |
CacheAffinitySharedManager.onCentralizedAffinityChange(GridDhtPartitionsExchangeFuture fut,
boolean crd)
Called on exchange initiated by server node leave or custom event with centralized affinity assignment.
|
void |
CacheAffinitySharedManager.onClientEvent(GridDhtPartitionsExchangeFuture fut)
Called on exchange initiated by client node join/fail.
|
protected void |
CacheWeakQueryIteratorsHolder.WeakQueryCloseableIterator.onClose()
Invoked on iterator close.
|
Map<Integer,CacheGroupAffinityMessage> |
CacheAffinitySharedManager.onCustomEventWithEnforcedAffinityReassignment(GridDhtPartitionsExchangeFuture fut)
Calculates affinity on coordinator for custom event types that require centralized assignment.
|
void |
GridCacheProcessor.onDisconnected(IgniteFuture<?> reconnectFut)
Client disconnected callback.
|
protected boolean |
CacheWeakQueryIteratorsHolder.WeakQueryCloseableIterator.onHasNext() |
void |
GridCacheManager.onKernalStart() |
protected void |
GridCacheAdapter.onKernalStart()
Kernal start callback.
|
void |
CacheOsConflictResolutionManager.onKernalStart() |
void |
GridCacheManagerAdapter.onKernalStart() |
void |
GridCacheProcessor.onKernalStart(boolean active)
Callback that notifies that kernal has successfully started,
including all managers and processors.
|
void |
ClusterCachesInfo.onKernalStart(boolean checkConsistency) |
AffinityTopologyVersion |
GridCachePartitionExchangeManager.onKernalStart(boolean active,
boolean reconnect) |
protected void |
GridCacheAffinityManager.onKernalStart0() |
protected void |
GridCacheManagerAdapter.onKernalStart0() |
protected T |
CacheWeakQueryIteratorsHolder.WeakQueryCloseableIterator.onNext() |
void |
WalStateManager.WALDisableContext.onReadyForRead(ReadOnlyMetastorage ms)
Is called when metastorage is made ready for read-only operations very early on node startup phase.
|
void |
WalStateManager.WALDisableContext.onReadyForReadWrite(ReadWriteMetastorage ms)
Fully functional metastore capable of performing reading and writing operations.
|
IgniteInternalFuture<?> |
GridCacheProcessor.onReconnected(boolean clusterRestarted)
Client reconnected callback.
|
protected void |
CacheWeakQueryIteratorsHolder.WeakQueryCloseableIterator.onRemove()
Called on remove from iterator.
|
void |
CacheAffinitySharedManager.onServerJoin(GridDhtPartitionsExchangeFuture fut,
boolean crd)
Called on exchange initiated by server node join.
|
void |
ClusterCachesInfo.onStart(CacheJoinNodeDiscoveryData joinDiscoData) |
ExchangeActions |
GridCacheProcessor.onStateChangeRequest(ChangeGlobalStateMessage msg,
AffinityTopologyVersion topVer,
DiscoveryDataClusterState curState) |
ExchangeActions |
ClusterCachesInfo.onStateChangeRequest(ChangeGlobalStateMessage msg,
AffinityTopologyVersion topVer,
DiscoveryDataClusterState curState) |
GridIterator<CacheDataRow> |
IgniteCacheOffheapManager.partitionIterator(int part) |
@Nullable CacheObject |
GridCacheEntryEx.peek()
Peeks into entry without loading value or updating statistics.
|
@Nullable CacheObject |
GridCacheMapEntry.peek()
Peeks into entry without loading value or updating statistics.
|
@Nullable CacheObject |
GridCacheEntryEx.peek(boolean heap,
boolean offheap,
AffinityTopologyVersion topVer,
@Nullable IgniteCacheExpiryPolicy plc)
Peeks into entry without loading value or updating statistics.
|
@Nullable CacheObject |
GridCacheMapEntry.peek(boolean heap,
boolean offheap,
AffinityTopologyVersion topVer,
@Nullable IgniteCacheExpiryPolicy expiryPlc)
Peeks into entry without loading value or updating statistics.
|
long |
GridCacheTtlManager.pendingSize() |
void |
IgniteCacheOffheapManager.CacheDataStore.preload()
Preload a store into page memory.
|
void |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.preload()
Preload a store into page memory.
|
void |
GridCacheAdapter.preloadPartition(int part)
Preload cache partition.
|
void |
IgniteCacheOffheapManager.preloadPartition(int part)
Preload a partition.
|
void |
GridCacheProxyImpl.preloadPartition(int part)
Preload cache partition.
|
void |
IgniteCacheOffheapManagerImpl.preloadPartition(int p)
Preload a partition.
|
void |
IgniteInternalCache.preloadPartition(int part)
Preload cache partition.
|
IgniteInternalFuture<?> |
GridCacheAdapter.preloadPartitionAsync(int part)
Preload cache partition.
|
IgniteInternalFuture<?> |
GridCacheProxyImpl.preloadPartitionAsync(int part)
Preload cache partition.
|
IgniteInternalFuture<?> |
IgniteInternalCache.preloadPartitionAsync(int part)
Preload cache partition.
|
void |
GridCacheProcessor.prepareCacheStart(DynamicCacheDescriptor desc,
@Nullable NearCacheConfiguration reqNearCfg,
AffinityTopologyVersion exchTopVer,
boolean disabledAfterStart,
boolean clientCache) |
void |
CacheObjectImpl.prepareMarshal(CacheObjectValueContext ctx) |
void |
KeyCacheObjectImpl.prepareMarshal(CacheObjectValueContext ctx) |
void |
CacheObjectByteArrayImpl.prepareMarshal(CacheObjectValueContext ctx) |
void |
CacheObject.prepareMarshal(CacheObjectValueContext ctx) |
void |
CacheEntryPredicateContainsValue.prepareMarshal(GridCacheContext ctx) |
void |
CacheInvokeDirectResult.prepareMarshal(GridCacheContext ctx) |
void |
CacheEvictionEntry.prepareMarshal(GridCacheContext ctx) |
void |
GridCacheReturn.prepareMarshal(GridCacheContext ctx) |
void |
CacheEntrySerializablePredicate.prepareMarshal(GridCacheContext ctx) |
void |
CacheEntryPredicateAdapter.prepareMarshal(GridCacheContext ctx) |
void |
CacheEntryPredicate.prepareMarshal(GridCacheContext ctx) |
void |
GridChangeGlobalStateMessageResponse.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridCacheMessage.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
protected void |
GridCacheMessage.prepareMarshalCacheObject(CacheObject obj,
GridCacheContext ctx) |
protected void |
GridCacheMessage.prepareMarshalCacheObjects(@Nullable Collection<? extends CacheObject> col,
GridCacheContext ctx) |
void |
GridCacheMessage.prepareMarshalCacheObjects(@Nullable List<? extends CacheObject> col,
GridCacheContext ctx) |
protected void |
GridCacheMessage.prepareObject(@Nullable Object o,
GridCacheContext ctx) |
protected void |
GridCacheMessage.prepareObject(@Nullable Object o,
GridCacheSharedContext ctx) |
void |
GridCacheProcessor.preparePageStore(DynamicCacheDescriptor desc,
boolean affNode)
Prepare page store for start cache.
|
<K,V> IgniteCacheProxy<K,V> |
GridCacheProcessor.publicJCache(String cacheName) |
<K,V> @Nullable IgniteCacheProxy<K,V> |
GridCacheProcessor.publicJCache(String cacheName,
boolean failIfNotStarted,
boolean checkThreadTx) |
boolean |
GridCacheAdapter.put(K key,
V val)
Stores given key-value pair in cache.
|
boolean |
GridCacheProxyImpl.put(K key,
V val)
Stores given key-value pair in cache.
|
boolean |
IgniteInternalCache.put(K key,
V val)
Stores given key-value pair in cache.
|
boolean |
GridCacheAdapter.put(K key,
V val,
CacheEntryPredicate filter) |
protected boolean |
GridCacheAdapter.put0(K key,
V val,
CacheEntryPredicate filter) |
void |
GridCacheAdapter.putAll(@Nullable Map<? extends K,? extends V> m)
Stores given key-value pairs in cache.
|
void |
GridCacheProxyImpl.putAll(@Nullable Map<? extends K,? extends V> m)
Stores given key-value pairs in cache.
|
void |
IgniteInternalCache.putAll(@Nullable Map<? extends K,? extends V> m)
Stores given key-value pairs in cache.
|
protected void |
GridCacheAdapter.putAll0(Map<? extends K,? extends V> m) |
void |
GridCacheAdapter.putAllConflict(Map<KeyCacheObject,GridCacheDrInfo> drMap)
Store DR data.
|
void |
GridCacheProxyImpl.putAllConflict(Map<KeyCacheObject,GridCacheDrInfo> drMap)
Store DR data.
|
void |
IgniteInternalCache.putAllConflict(Map<KeyCacheObject,GridCacheDrInfo> drMap)
Store DR data.
|
IgniteInternalFuture<?> |
GridCacheAdapter.putAllConflictAsync(Map<KeyCacheObject,GridCacheDrInfo> drMap)
Store DR data asynchronously.
|
IgniteInternalFuture<?> |
GridCacheProxyImpl.putAllConflictAsync(Map<KeyCacheObject,GridCacheDrInfo> drMap)
Store DR data asynchronously.
|
IgniteInternalFuture<?> |
IgniteInternalCache.putAllConflictAsync(Map<KeyCacheObject,GridCacheDrInfo> drMap)
Store DR data asynchronously.
|
boolean |
GridCacheAdapter.putIfAbsent(K key,
V val)
Stores given key-value pair in cache only if cache had no previous mapping for it.
|
boolean |
GridCacheProxyImpl.putIfAbsent(K key,
V val)
Stores given key-value pair in cache only if cache had no previous mapping for it.
|
boolean |
IgniteInternalCache.putIfAbsent(K key,
V val)
Stores given key-value pair in cache only if cache had no previous mapping for it.
|
boolean |
CacheObjectAdapter.putValue(ByteBuffer buf) |
boolean |
CacheObjectByteArrayImpl.putValue(ByteBuffer buf) |
boolean |
CacheObject.putValue(ByteBuffer buf) |
boolean |
CacheObjectAdapter.putValue(ByteBuffer buf,
int off,
int len) |
boolean |
CacheObjectByteArrayImpl.putValue(ByteBuffer buf,
int off,
int len) |
boolean |
CacheObject.putValue(ByteBuffer buf,
int off,
int len) |
static boolean |
CacheObjectAdapter.putValue(byte cacheObjType,
ByteBuffer buf,
int off,
int len,
byte[] valBytes,
int start) |
int |
CacheObjectAdapter.putValue(long addr) |
int |
CacheObjectByteArrayImpl.putValue(long addr) |
int |
CacheObject.putValue(long addr) |
@Nullable CacheDataRow |
IgniteCacheOffheapManager.read(GridCacheContext cctx,
KeyCacheObject key) |
@Nullable CacheDataRow |
IgniteCacheOffheapManagerImpl.read(GridCacheContext cctx,
KeyCacheObject key) |
@Nullable CacheDataRow |
IgniteCacheOffheapManager.read(GridCacheMapEntry entry) |
@Nullable CacheDataRow |
IgniteCacheOffheapManagerImpl.read(GridCacheMapEntry entry) |
protected @Nullable Object |
GridCacheMapEntry.readThrough(@Nullable IgniteInternalTx tx,
KeyCacheObject key,
boolean reload,
UUID subjId,
String taskName) |
IgniteRebalanceIterator |
IgniteCacheOffheapManager.rebalanceIterator(IgniteDhtDemandedPartitionsMap parts,
AffinityTopologyVersion topVer) |
IgniteRebalanceIterator |
IgniteCacheOffheapManagerImpl.rebalanceIterator(IgniteDhtDemandedPartitionsMap parts,
AffinityTopologyVersion topVer) |
void |
GridCacheDeploymentManager.registerClass(Class<?> cls) |
void |
GridCacheDeploymentManager.registerClass(Class<?> cls,
ClassLoader ldr) |
void |
GridCacheDeploymentManager.registerClass(Object obj) |
void |
GridCacheDeploymentManager.registerClasses(Iterable<?> objs)
Register local classes.
|
void |
GridCacheDeploymentManager.registerClasses(Object... objs)
Register local classes.
|
void |
IgniteCacheOffheapManager.CacheDataStore.remove(GridCacheContext cctx,
KeyCacheObject key,
int partId) |
void |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.remove(GridCacheContext cctx,
KeyCacheObject key,
int partId) |
void |
IgniteCacheOffheapManager.remove(GridCacheContext cctx,
KeyCacheObject key,
int partId,
GridDhtLocalPartition part) |
void |
IgniteCacheOffheapManagerImpl.remove(GridCacheContext cctx,
KeyCacheObject key,
int partId,
GridDhtLocalPartition part) |
boolean |
GridCacheAdapter.remove(K key)
Removes given key mapping from cache.
|
boolean |
GridCacheProxyImpl.remove(K key)
Removes given key mapping from cache.
|
boolean |
IgniteInternalCache.remove(K key)
Removes given key mapping from cache.
|
boolean |
GridCacheAdapter.remove(K key,
@Nullable CacheEntryPredicate filter) |
boolean |
GridCacheAdapter.remove(K key,
V val)
Removes given key mapping from cache if one exists and value is equal to the passed in value.
|
boolean |
GridCacheProxyImpl.remove(K key,
V val)
Removes given key mapping from cache if one exists and value is equal to the passed in value.
|
boolean |
IgniteInternalCache.remove(K key,
V val)
Removes given key mapping from cache if one exists and value is equal to the passed in value.
|
protected boolean |
GridCacheAdapter.remove0(K key,
CacheEntryPredicate filter) |
void |
GridCacheAdapter.removeAll()
Removes mappings from cache.
|
void |
GridCacheProxyImpl.removeAll()
Removes mappings from cache.
|
void |
IgniteInternalCache.removeAll()
Removes mappings from cache.
|
void |
GridCacheAdapter.removeAll(Collection<? extends K> keys)
Removes given key mappings from cache.
|
void |
GridCacheProxyImpl.removeAll(@Nullable Collection<? extends K> keys)
Removes given key mappings from cache.
|
void |
IgniteInternalCache.removeAll(@Nullable Collection<? extends K> keys)
Removes given key mappings from cache.
|
protected void |
GridCacheAdapter.removeAll0(Collection<? extends K> keys) |
void |
GridCacheAdapter.removeAllConflict(Map<KeyCacheObject,GridCacheVersion> drMap)
Removes DR data.
|
void |
GridCacheProxyImpl.removeAllConflict(Map<KeyCacheObject,GridCacheVersion> drMap)
Removes DR data.
|
void |
IgniteInternalCache.removeAllConflict(Map<KeyCacheObject,GridCacheVersion> drMap)
Removes DR data.
|
IgniteInternalFuture<?> |
GridCacheAdapter.removeAllConflictAsync(Map<KeyCacheObject,GridCacheVersion> drMap)
Removes DR data asynchronously.
|
IgniteInternalFuture<?> |
GridCacheProxyImpl.removeAllConflictAsync(Map<KeyCacheObject,GridCacheVersion> drMap)
Removes DR data asynchronously.
|
IgniteInternalFuture<?> |
IgniteInternalCache.removeAllConflictAsync(Map<KeyCacheObject,GridCacheVersion> drMap)
Removes DR data asynchronously.
|
void |
CacheWeakQueryIteratorsHolder.removeIterator(CacheWeakQueryIteratorsHolder.WeakReferenceCloseableIterator it) |
protected void |
WalStateManager.WALDisableContext.removeMetaStoreDisableWALFlag() |
protected void |
GridCacheMapEntry.removeValue()
Removes value from offheap.
|
V |
GridCacheAdapter.repairableGet(K key,
boolean deserializeBinary,
boolean needVer) |
protected Map<K,V> |
GridCacheAdapter.repairableGetAll(Collection<? extends K> keys,
boolean deserializeBinary,
boolean needVer,
boolean recovery,
boolean readRepair) |
boolean |
GridCacheAdapter.replace(K key,
V val)
Stores given key-value pair in cache only if only if there is a previous mapping for it.
|
boolean |
GridCacheProxyImpl.replace(K key,
V val)
Stores given key-value pair in cache only if only if there is a previous mapping for it.
|
boolean |
IgniteInternalCache.replace(K key,
V val)
Stores given key-value pair in cache only if only if there is a previous mapping for it.
|
boolean |
GridCacheAdapter.replace(K key,
V oldVal,
V newVal)
Stores given key-value pair in cache only if only if the previous value is equal to the
'oldVal' passed in. |
boolean |
GridCacheProxyImpl.replace(K key,
V oldVal,
V newVal)
Stores given key-value pair in cache only if only if the previous value is equal to the
'oldVal' passed in. |
boolean |
IgniteInternalCache.replace(K key,
V oldVal,
V newVal)
Stores given key-value pair in cache only if only if the previous value is equal to the
'oldVal' passed in. |
GridCloseableIterator<CacheDataRow> |
IgniteCacheOffheapManager.reservedIterator(int part,
AffinityTopologyVersion topVer) |
GridCloseableIterator<CacheDataRow> |
IgniteCacheOffheapManagerImpl.reservedIterator(int part,
AffinityTopologyVersion topVer) |
CacheJoinNodeDiscoveryData |
GridLocalConfigManager.restoreCacheConfigurations() |
long |
IgniteCacheOffheapManager.restorePartitionStates(Map<GroupPartitionId,Integer> partitionRecoveryStates)
Pre-create partitions that resides in page memory or WAL and restores their state.
|
long |
IgniteCacheOffheapManagerImpl.restorePartitionStates(Map<GroupPartitionId,Integer> partitionRecoveryStates)
Pre-create partitions that resides in page memory or WAL and restores their state.
|
void |
GridCacheSharedContext.resumeTx(GridNearTxLocal tx)
Resume transaction if it was previously suspended.
|
static <S> S |
GridCacheUtils.retryTopologySafe(Callable<S> c) |
ReuseList |
IgniteCacheOffheapManager.reuseListForIndex(String idxName) |
RootPage |
IgniteCacheOffheapManager.rootPageForIndex(int cacheId,
String idxName,
int segment) |
RootPage |
IgniteCacheOffheapManagerImpl.rootPageForIndex(int cacheId,
String idxName,
int segment) |
void |
WalStateManager.runWithOutWAL(IgniteRunnable cls)
None record will be logged in closure call.
|
void |
GridCacheProcessor.saveCacheConfiguration(DynamicCacheDescriptor desc)
Save cache configuration to persistent store if necessary.
|
void |
GridCacheProcessor.saveCacheConfiguration(StoredCacheData storedCacheData,
boolean overwrite)
Save cache configuration to persistent store if necessary.
|
void |
GridLocalConfigManager.saveCacheConfiguration(StoredCacheData storedCacheData,
boolean overwrite)
Save cache configuration to persistent store if necessary.
|
Iterator<javax.cache.Cache.Entry<K,V>> |
GridCacheAdapter.scanIterator(boolean keepBinary,
@Nullable IgniteBiPredicate<Object,Object> p) |
Iterator<javax.cache.Cache.Entry<K,V>> |
GridCacheProxyImpl.scanIterator(boolean keepBinary,
@Nullable IgniteBiPredicate<Object,Object> p) |
Iterator<javax.cache.Cache.Entry<K,V>> |
IgniteInternalCache.scanIterator(boolean keepBinary,
@Nullable IgniteBiPredicate<Object,Object> p) |
void |
GridCacheIoManager.send(ClusterNode node,
GridCacheMessage msg,
byte plc)
Sends communication message.
|
void |
GridCacheIoManager.send(UUID nodeId,
GridCacheMessage msg,
byte plc)
Sends communication message.
|
void |
GridCacheIoManager.sendOrderedMessage(ClusterNode node,
Object topic,
GridCacheMessage msg,
byte plc,
long timeout) |
int |
GridCacheAdapter.size(CachePeekMode[] peekModes) |
int |
GridCacheProxyImpl.size(CachePeekMode[] peekModes) |
int |
IgniteInternalCache.size(CachePeekMode[] peekModes) |
long |
GridCacheAdapter.sizeLong(CachePeekMode[] peekModes) |
long |
GridCacheProxyImpl.sizeLong(CachePeekMode[] peekModes) |
long |
IgniteInternalCache.sizeLong(CachePeekMode[] peekModes) |
long |
GridCacheAdapter.sizeLong(int partition,
CachePeekMode[] peekModes) |
long |
GridCacheProxyImpl.sizeLong(int partition,
CachePeekMode[] peekModes) |
long |
IgniteInternalCache.sizeLong(int partition,
CachePeekMode[] peekModes) |
void |
GridCachePreloaderAdapter.start()
Starts preloading.
|
abstract void |
GridCacheAdapter.start()
Starts this cache.
|
void |
CacheGroupContext.start() |
void |
GridCacheProcessor.start()
Starts grid component.
|
void |
GridCachePreloader.start()
Starts preloading.
|
void |
GridCacheManager.start(GridCacheContext<K,V> cctx)
Starts manager.
|
void |
CacheOsConflictResolutionManager.start(GridCacheContext<K,V> cctx)
Starts manager.
|
void |
GridCacheManagerAdapter.start(GridCacheContext<K,V> cctx)
Starts manager.
|
void |
GridCacheSharedManagerAdapter.start(GridCacheSharedContext<K,V> cctx)
Starts manager.
|
void |
GridCacheSharedManager.start(GridCacheSharedContext<K,V> cctx)
Starts manager.
|
void |
IgniteCacheOffheapManager.start(GridCacheSharedContext ctx,
CacheGroupContext grp) |
void |
IgniteCacheOffheapManagerImpl.start(GridCacheSharedContext ctx,
CacheGroupContext grp) |
protected void |
GridCacheSharedManagerAdapter.start0() |
protected void |
CacheDiagnosticManager.start0() |
protected void |
GridCachePartitionExchangeManager.start0() |
protected void |
WalStateManager.start0() |
void |
GridCacheIoManager.start0() |
void |
GridCacheDeploymentManager.start0() |
protected void |
GridCacheTtlManager.start0() |
protected void |
CacheAffinitySharedManager.start0() |
protected void |
CacheCompressionManager.start0() |
protected void |
GridCacheMvccManager.start0() |
void |
GridCacheAffinityManager.start0() |
protected void |
GridCacheManagerAdapter.start0() |
void |
GridCacheEvictionManager.start0() |
IgniteInternalFuture<?> |
GridCacheProcessor.startCachesOnLocalJoin(AffinityTopologyVersion exchTopVer,
LocalJoinCachesContext locJoinCtx) |
Collection<DynamicCacheDescriptor> |
GridCacheProcessor.startReceivedCaches(UUID nodeId,
AffinityTopologyVersion exchTopVer)
Starts statically configured caches received from remote nodes during exchange.
|
static Collection<CacheStoreSessionListener> |
GridCacheUtils.startStoreSessionListeners(GridKernalContext ctx,
javax.cache.configuration.Factory<CacheStoreSessionListener>[] factories)
Creates and starts store session listeners.
|
void |
GridCacheProcessor.stop(boolean cancel)
Stops grid component.
|
static void |
GridCacheUtils.stopStoreSessionListeners(GridKernalContext ctx,
Collection<CacheStoreSessionListener> sesLsnrs)
Stops store session listeners.
|
void |
IgniteCacheOffheapManager.storeEntries(int partId,
Iterator<GridCacheEntryInfo> infos,
IgnitePredicateX<CacheDataRow> initPred)
Store entries.
|
void |
IgniteCacheOffheapManagerImpl.storeEntries(int partId,
Iterator<GridCacheEntryInfo> infos,
IgnitePredicateX<CacheDataRow> initPred)
Store entries.
|
protected boolean |
GridCacheMapEntry.storeValue(@Nullable CacheObject val,
long expireTime,
GridCacheVersion ver)
Stores value in offheap.
|
protected boolean |
GridCacheMapEntry.storeValue(@Nullable CacheObject val,
long expireTime,
GridCacheVersion ver,
@Nullable IgnitePredicate<CacheDataRow> predicate,
@Nullable CacheDataRow row)
Stores value in off-heap.
|
void |
GridCacheSharedContext.suspendTx(GridNearTxLocal tx)
Suspends transaction.
|
KeyCacheObject |
GridCacheContext.toCacheKeyObject(byte[] bytes) |
void |
GridCacheAdapter.unlock(K key)
Unlocks given key only if current thread owns the lock.
|
void |
GridCacheProxyImpl.unlock(K key)
Unlocks given key only if current thread owns the lock.
|
void |
IgniteInternalCache.unlock(K key)
Unlocks given key only if current thread owns the lock.
|
void |
GridCacheProxyImpl.unlockAll(@Nullable Collection<? extends K> keys)
Unlocks given keys only if current thread owns the locks.
|
void |
IgniteInternalCache.unlockAll(@Nullable Collection<? extends K> keys)
Unlocks given keys only if current thread owns the locks.
|
void |
GridCacheEntryInfo.unmarshal(CacheObjectContext ctx,
ClassLoader clsLdr)
Unmarshalls entry.
|
void |
GridCacheEntryInfo.unmarshal(GridCacheContext ctx,
ClassLoader clsLdr)
Unmarshalls entry.
|
protected <T> @Nullable List<T> |
GridCacheMessage.unmarshalCollection(@Nullable Collection<byte[]> byteCol,
GridCacheSharedContext ctx,
ClassLoader ldr) |
protected void |
GridCacheMessage.unmarshalInfo(GridCacheEntryInfo info,
GridCacheContext ctx,
ClassLoader ldr) |
protected void |
GridCacheMessage.unmarshalInfos(Iterable<? extends GridCacheEntryInfo> infos,
GridCacheContext ctx,
ClassLoader ldr) |
protected @Nullable Object[] |
GridCacheMessage.unmarshalInvokeArguments(@Nullable byte[][] byteCol,
GridCacheSharedContext ctx,
ClassLoader ldr) |
protected void |
GridCacheMessage.unmarshalTx(Iterable<IgniteTxEntry> txEntries,
boolean near,
GridCacheSharedContext ctx,
ClassLoader ldr) |
void |
GridCacheEntryInfo.unmarshalValue(GridCacheContext<?,?> ctx,
ClassLoader ldr) |
@Nullable CacheObject |
GridCacheEntryEx.unswap() |
CacheObject |
GridCacheMapEntry.unswap() |
@Nullable CacheObject |
GridCacheEntryEx.unswap(boolean needVal)
Unswap ignoring flags.
|
@Nullable CacheObject |
GridCacheMapEntry.unswap(boolean needVal)
Unswap ignoring flags.
|
@Nullable CacheObject |
GridCacheEntryEx.unswap(CacheDataRow row) |
CacheObject |
GridCacheMapEntry.unswap(CacheDataRow row) |
protected @Nullable CacheDataRow |
GridCacheMapEntry.unswap(@Nullable CacheDataRow row,
boolean checkExpire)
Unswaps an entry.
|
void |
IgniteCacheOffheapManager.CacheDataStore.update(GridCacheContext cctx,
KeyCacheObject key,
CacheObject val,
GridCacheVersion ver,
long expireTime,
@Nullable CacheDataRow oldRow) |
void |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.update(GridCacheContext cctx,
KeyCacheObject key,
CacheObject val,
GridCacheVersion ver,
long expireTime,
@Nullable CacheDataRow oldRow) |
void |
IgniteCacheOffheapManager.update(GridCacheContext cctx,
KeyCacheObject key,
CacheObject val,
GridCacheVersion ver,
long expireTime,
GridDhtLocalPartition part,
@Nullable CacheDataRow oldRow) |
void |
IgniteCacheOffheapManagerImpl.update(GridCacheContext cctx,
KeyCacheObject key,
CacheObject val,
GridCacheVersion ver,
long expireTime,
GridDhtLocalPartition part,
@Nullable CacheDataRow oldRow) |
void |
PartitionUpdateCounterTrackingImpl.update(long val)
Sets update counter to absolute value.
|
void |
PartitionUpdateCounter.update(long val)
Sets update counter to absolute value.
|
void |
PartitionUpdateCounterDebugWrapper.update(long val)
Sets update counter to absolute value.
|
void |
GridCacheEntryEx.updateIndex(SchemaIndexCacheVisitorClosure clo)
Update index from within entry lock, passing key, value, and expiration time to provided closure.
|
void |
GridCacheMapEntry.updateIndex(SchemaIndexCacheVisitorClosure clo)
Update index from within entry lock, passing key, value, and expiration time to provided closure.
|
void |
IgniteCacheOffheapManager.CacheDataStore.updateTxState(GridCacheContext cctx,
CacheSearchRow row) |
void |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.updateTxState(GridCacheContext cctx,
CacheSearchRow row) |
static void |
GridCacheUtils.validateCacheGroupsAttributesMismatch(IgniteLogger log,
CacheConfiguration cfg1,
CacheConfiguration cfg2,
String attrName,
String attrMsg,
Object val1,
Object val2,
boolean fail) |
void |
GridCacheContext.validateKeyAndValue(KeyCacheObject key,
CacheObject val)
Performs validation of provided key and value against configured constraints.
|
static Map<String,String> |
GridCacheUtils.validateKeyConfigiration(String groupName,
String cacheName,
CacheKeyConfiguration[] cacheKeyCfgs,
IgniteLogger log,
boolean fail)
Validate affinity key configurations.
|
static void |
GridCacheUtils.validateKeyConfigiration(String groupName,
String cacheName,
UUID rmtNodeId,
CacheKeyConfiguration[] rmtCacheKeyCfgs,
CacheKeyConfiguration[] locCacheKeyCfgs,
IgniteLogger log,
boolean fail)
Validate and compare affinity key configurations.
|
byte[] |
CacheObjectImpl.valueBytes(CacheObjectValueContext ctx) |
byte[] |
KeyCacheObjectImpl.valueBytes(CacheObjectValueContext ctx) |
byte[] |
CacheObjectByteArrayImpl.valueBytes(CacheObjectValueContext ctx) |
byte[] |
CacheObject.valueBytes(CacheObjectValueContext ctx) |
@Nullable CacheObject |
GridCacheEntryEx.valueBytes(@Nullable GridCacheVersion ver)
Gets cached serialized value bytes.
|
@Nullable CacheObject |
GridCacheMapEntry.valueBytes(@Nullable GridCacheVersion ver)
Gets cached serialized value bytes.
|
int |
CacheObjectAdapter.valueBytesLength(CacheObjectContext ctx) |
int |
CacheObjectByteArrayImpl.valueBytesLength(CacheObjectContext ctx) |
int |
CacheObject.valueBytesLength(CacheObjectContext ctx) |
GridCacheVersionedEntryEx |
GridCacheMapEntry.versionedEntry(boolean keepBinary)
Create versioned entry for this cache entry.
|
<K,V> GridCacheVersionedEntryEx<K,V> |
GridCacheEntryEx.versionedEntry(boolean keepBinary)
Create versioned entry for this cache entry.
|
EntryGetResult |
GridCacheEntryEx.versionedValue(CacheObject val,
@Nullable GridCacheVersion curVer,
@Nullable GridCacheVersion newVer,
@Nullable IgniteCacheExpiryPolicy loadExpiryPlc,
@Nullable ReaderArguments readerArgs)
Sets new value if passed in version matches the current version
(used for read-through only).
|
EntryGetResult |
GridCacheMapEntry.versionedValue(CacheObject val,
GridCacheVersion curVer,
GridCacheVersion newVer,
@Nullable IgniteCacheExpiryPolicy loadExpiryPlc,
@Nullable ReaderArguments readerArgs)
Sets new value if passed in version matches the current version
(used for read-through only).
|
protected void |
WalStateManager.WALDisableContext.writeMetaStoreDisableWALFlag() |
| Constructor and Description |
|---|
DynamicCacheChangeFailureMessage(ClusterNode locNode,
GridDhtPartitionExchangeId exchId,
IgniteCheckedException cause,
Collection<String> cacheNames)
Creates new DynamicCacheChangeFailureMessage instance.
|
| Modifier and Type | Method and Description |
|---|---|
CacheObjectContext |
CacheObjectBinaryProcessorImpl.contextForCache(CacheConfiguration ccfg) |
byte[] |
CacheObjectBinaryProcessorImpl.marshal(CacheObjectValueContext ctx,
Object val) |
void |
CacheObjectBinaryProcessorImpl.onKernalStart(boolean active)
Callback that notifies that kernal has successfully started,
including all managers and processors.
|
IgniteInternalFuture<?> |
CacheObjectBinaryProcessorImpl.onReconnected(boolean clusterRestarted)
Client reconnected callback.
|
void |
CacheObjectBinaryProcessorImpl.start()
Starts grid component.
|
IncompleteCacheObject |
CacheObjectBinaryProcessorImpl.toKeyCacheObject(CacheObjectContext ctx,
ByteBuffer buf,
@Nullable IncompleteCacheObject incompleteObj) |
KeyCacheObject |
CacheObjectBinaryProcessorImpl.toKeyCacheObject(CacheObjectContext ctx,
byte type,
byte[] bytes) |
Object |
CacheObjectBinaryProcessorImpl.unmarshal(CacheObjectValueContext ctx,
byte[] bytes,
ClassLoader clsLdr) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
CacheDataStructuresManager.onKernalStart0() |
void |
CacheDataStructuresManager.onReconnected(boolean clusterRestarted) |
<T> @Nullable GridCacheQueueProxy<T> |
CacheDataStructuresManager.queue(String name,
int cap,
boolean colloc,
boolean create) |
<T> @Nullable GridCacheQueueProxy<T> |
CacheDataStructuresManager.queue0(String name,
int cap,
boolean colloc,
boolean create) |
void |
CacheDataStructuresManager.removeSetData(IgniteUuid id,
boolean separated) |
<T> @Nullable IgniteSet<T> |
CacheDataStructuresManager.set(String name,
boolean colloc,
boolean create,
boolean separated) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridDistributedTxRemoteAdapter.addActiveCache(GridCacheContext cacheCtx,
boolean recovery)
Adds cache to the list of active caches in transaction.
|
void |
GridDistributedUnlockRequest.addKey(KeyCacheObject key,
GridCacheContext ctx) |
void |
GridDistributedLockRequest.addKeyBytes(KeyCacheObject key,
boolean retVal,
GridCacheContext ctx)
Adds a key.
|
void |
GridDistributedTxRemoteAdapter.commitRemoteTx() |
void |
GridCacheTtlUpdateRequest.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridDistributedTxPrepareRequest.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridDistributedLockResponse.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridDistributedLockRequest.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridDistributedUnlockRequest.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridDistributedTxPrepareResponse.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridDistributedTxRemoteAdapter.forceCommit()
Forces commit for this tx.
|
long |
GridDistributedCacheAdapter.localSizeLong(CachePeekMode[] peekModes) |
long |
GridDistributedCacheAdapter.localSizeLong(int part,
CachePeekMode[] peekModes) |
void |
GridCacheTtlUpdateRequest.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridDistributedTxPrepareRequest.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridDistributedLockResponse.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridDistributedLockRequest.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridDistributedUnlockRequest.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridDistributedTxPrepareResponse.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridDistributedTxRemoteAdapter.prepareRemoteTx() |
void |
GridDistributedCacheAdapter.removeAll()
Removes mappings from cache.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GridDhtUnreservedPartitionException
Exception that is thrown when a partition reservation failed.
|
class |
IgniteClusterReadOnlyException
This exception is used to indicate that the cluster is in a read-only state
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridDhtLockRequest.addDhtKey(KeyCacheObject key,
boolean invalidateEntry,
GridCacheContext ctx)
Adds a DHT key.
|
@Nullable IgniteInternalFuture<Boolean> |
GridDhtTxLocalAdapter.addEntry(long msgId,
IgniteTxEntry e) |
void |
GridDhtUnlockRequest.addNearKey(KeyCacheObject key)
Adds a Near key.
|
void |
GridDhtLockRequest.addNearKey(KeyCacheObject key,
GridCacheSharedContext ctx)
Adds a Near key.
|
void |
GridDhtTxRemote.addWrite(IgniteTxEntry entry,
ClassLoader ldr) |
boolean |
GridDhtCacheEntry.clearInternal(GridCacheVersion ver,
GridCacheObsoleteEntryExtras extras)
Marks entry as obsolete and, if possible or required, removes it
from swap storage.
|
protected UpdateSourceIterator<?> |
GridDhtTxQueryResultsEnlistFuture.createIterator()
Gets source to be updated iterator.
|
protected abstract UpdateSourceIterator<?> |
GridDhtTxAbstractEnlistFuture.createIterator()
Gets source to be updated iterator.
|
protected UpdateSourceIterator<?> |
GridDhtTxEnlistFuture.createIterator()
Gets source to be updated iterator.
|
protected UpdateSourceIterator<?> |
GridDhtTxQueryEnlistFuture.createIterator()
Gets source to be updated iterator.
|
void |
GridDhtAffinityAssignmentResponse.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridDhtTxFinishResponse.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridDhtLockRequest.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridDhtTxQueryEnlistRequest.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridInvokeValue.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
Unmarshalls invoke value.
|
void |
GridDhtUnlockRequest.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridDhtLockResponse.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridDhtTxQueryEnlistResponse.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridDhtTxPrepareResponse.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridDhtTxPrepareRequest.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
GridDhtTxLocal |
GridDhtTransactionalCacheAdapter.initTxTopologyVersion(UUID nodeId,
ClusterNode nearNode,
GridCacheVersion nearLockVer,
IgniteUuid nearFutId,
int nearMiniId,
boolean firstClientReq,
AffinityTopologyVersion topVer,
long nearThreadId,
long timeout,
UUID txSubjectId,
int txTaskNameHash,
MvccSnapshot snapshot) |
boolean |
GridDhtTxLocal.localFinish(boolean commit,
boolean clearThreadMap)
Finishes transaction (either commit or rollback).
|
boolean |
GridDhtTxLocalAdapter.localFinish(boolean commit,
boolean clearThreadMap)
Finishes transaction (either commit or rollback).
|
void |
GridDhtCacheAdapter.localLoad(Collection<? extends K> keys,
javax.cache.expiry.ExpiryPolicy plc,
boolean keepBinary) |
void |
GridDhtCacheAdapter.localLoadCache(IgniteBiPredicate<K,V> p,
Object[] args)
Delegates to
CacheStore.loadCache(IgniteBiInClosure, Object...) method
to load state from the underlying persistent storage. |
protected @Nullable byte[][] |
GridInvokeValue.marshalInvokeArguments(@Nullable Object[] args,
GridCacheContext ctx) |
int |
GridDhtCacheEntry.memorySize() |
void |
GridInvokeValue.prepareMarshal(GridCacheContext ctx)
Marshalls invoke value.
|
void |
GridDhtAffinityAssignmentResponse.prepareMarshal(GridCacheSharedContext ctx) |
void |
GridDhtTxFinishResponse.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridDhtLockRequest.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridDhtTxQueryEnlistRequest.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridDhtUnlockRequest.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridDhtLockResponse.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridDhtTxQueryEnlistResponse.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridDhtTxPrepareResponse.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridDhtTxPrepareRequest.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridDhtTxLocal.rollbackDhtLocal() |
void |
GridDhtCacheAdapter.start()
Starts this cache.
|
void |
GridDhtCache.start()
Starts this cache.
|
void |
GridDhtTransactionalCacheAdapter.start()
Starts this cache.
|
protected @Nullable Object[] |
GridInvokeValue.unmarshalInvokeArguments(@Nullable byte[][] byteCol,
GridCacheSharedContext ctx,
ClassLoader ldr) |
| Constructor and Description |
|---|
ClientCacheDhtTopologyFuture(AffinityTopologyVersion topVer,
IgniteCheckedException e) |
| Modifier and Type | Method and Description |
|---|---|
IgniteCheckedException |
UpdateErrors.error() |
IgniteCheckedException |
GridNearAtomicUpdateResponse.error() |
IgniteCheckedException |
GridDhtAtomicUpdateResponse.error() |
| Modifier and Type | Method and Description |
|---|---|
void |
GridNearAtomicUpdateResponse.error(IgniteCheckedException err)
Sets update error.
|
void |
UpdateErrors.onError(IgniteCheckedException err) |
void |
GridDhtAtomicUpdateResponse.onError(IgniteCheckedException err)
Sets update error.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
GridDhtAtomicCache.checkJta()
Checks if cache is working in JTA transaction and enlist cache as XAResource if necessary.
|
void |
GridDhtAtomicUpdateRequest.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridNearAtomicSingleUpdateFilterRequest.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridNearAtomicSingleUpdateRequest.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridNearAtomicUpdateResponse.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridDhtAtomicUpdateResponse.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridDhtAtomicSingleUpdateRequest.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridNearAtomicSingleUpdateInvokeRequest.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridNearAtomicFullUpdateRequest.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridDhtAtomicNearResponse.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
protected Map<K,V> |
GridDhtAtomicCache.getAll(Collection<? extends K> keys,
boolean deserializeBinary,
boolean needVer,
boolean recovery,
boolean readRepair) |
protected V |
GridDhtAtomicCache.getAndPut0(K key,
V val,
@Nullable CacheEntryPredicate filter) |
V |
GridDhtAtomicCache.getAndRemove0(K key) |
<T> javax.cache.processor.EntryProcessorResult<T> |
GridDhtAtomicCache.invoke(K key,
javax.cache.processor.EntryProcessor<K,V,T> entryProcessor,
Object... args) |
<T> Map<K,javax.cache.processor.EntryProcessorResult<T>> |
GridDhtAtomicCache.invokeAll(Map<? extends K,? extends javax.cache.processor.EntryProcessor<K,V,T>> map,
Object... args) |
<T> Map<K,javax.cache.processor.EntryProcessorResult<T>> |
GridDhtAtomicCache.invokeAll(Set<? extends K> keys,
javax.cache.processor.EntryProcessor<K,V,T> entryProcessor,
Object... args) |
void |
GridDhtAtomicUpdateRequest.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridNearAtomicSingleUpdateFilterRequest.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridNearAtomicSingleUpdateRequest.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridNearAtomicUpdateResponse.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridDhtAtomicUpdateResponse.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridDhtAtomicSingleUpdateRequest.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridNearAtomicSingleUpdateInvokeRequest.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridNearAtomicFullUpdateRequest.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridDhtAtomicNearResponse.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
protected boolean |
GridDhtAtomicCache.put0(K key,
V val,
CacheEntryPredicate filter) |
protected void |
GridDhtAtomicCache.putAll0(Map<? extends K,? extends V> m) |
void |
GridDhtAtomicCache.putAllConflict(Map<KeyCacheObject,GridCacheDrInfo> conflictMap)
Store DR data.
|
protected boolean |
GridDhtAtomicCache.remove0(K key,
CacheEntryPredicate filter) |
protected void |
GridDhtAtomicCache.removeAll0(Collection<? extends K> keys) |
void |
GridDhtAtomicCache.removeAllConflict(Map<KeyCacheObject,GridCacheVersion> conflictMap)
Removes DR data.
|
void |
GridDhtAtomicCache.start()
Starts this cache.
|
| Constructor and Description |
|---|
UpdateErrors(IgniteCheckedException err) |
| Modifier and Type | Method and Description |
|---|---|
protected WALPointer |
GridDhtDetachedCacheEntry.logTxUpdate(IgniteInternalTx tx,
CacheObject val,
long expireTime,
long updCntr) |
protected void |
GridDhtDetachedCacheEntry.logUpdate(GridCacheOperation op,
CacheObject val,
GridCacheVersion writeVer,
long expireTime,
long updCntr) |
protected void |
GridDhtDetachedCacheEntry.removeValue()
Removes value from offheap.
|
void |
GridDhtColocatedCache.start()
Starts this cache.
|
protected boolean |
GridDhtDetachedCacheEntry.storeValue(CacheObject val,
long expireTime,
GridCacheVersion ver)
Stores value in offheap.
|
@Nullable CacheDataRow |
GridDhtDetachedCacheEntry.unswap(CacheDataRow row,
boolean checkExpire)
Unswaps an entry.
|
| Modifier and Type | Method and Description |
|---|---|
IgniteCheckedException |
GridDhtForceKeysResponse.error() |
| Modifier and Type | Method and Description |
|---|---|
void |
GridDhtForceKeysResponse.error(IgniteCheckedException err)
Sets error.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IgniteRebalanceIteratorImpl.close()
Closes the iterator and frees all the resources held by the iterator.
|
void |
GridDhtPartitionDemandLegacyMessage.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridDhtPartitionDemandMessage.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridDhtForceKeysResponse.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridDhtPartitionSupplyMessage.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridDhtPartitionSupplyMessageV2.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridDhtPartitionsSingleMessage.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridDhtForceKeysRequest.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridDhtPartitionsFullMessage.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
boolean |
IgniteRebalanceIteratorImpl.hasNextX()
This method is the same as
Iterator.hasNext(), but allows for failure
with exception. |
void |
InitNewCoordinatorFuture.init(GridDhtPartitionsExchangeFuture exchFut) |
CacheDataRow |
IgniteRebalanceIteratorImpl.nextX()
This method is the same as
Iterator.next(), but allows for failure
with exception. |
void |
GridDhtPartitionDemandLegacyMessage.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridDhtPartitionDemandMessage.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridDhtForceKeysResponse.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridDhtPartitionSupplyMessageV2.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridDhtPartitionsSingleMessage.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridDhtForceKeysRequest.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridDhtPartitionsFullMessage.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
IgniteRebalanceIteratorImpl.removeX()
This method is the same as
Iterator.remove(), but allows for failure
with exception. |
| Constructor and Description |
|---|
IgniteRebalanceIteratorImpl(NavigableMap<Integer,GridCloseableIterator<CacheDataRow>> fullIterators,
IgniteHistoricalIterator historicalIterator) |
| Modifier and Type | Method and Description |
|---|---|
void |
Latch.await()
Awaits current latch completion.
|
void |
Latch.await(long timeout,
TimeUnit timeUnit)
Awaits current latch completion with specified timeout.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridClientPartitionTopology.afterExchange(GridDhtPartitionsExchangeFuture exchFut)
Post-initializes this topology.
|
boolean |
GridDhtPartitionTopology.afterExchange(GridDhtPartitionsExchangeFuture exchFut)
Post-initializes this topology.
|
void |
GridDhtPartitionTopologyImpl.beforeExchange(GridDhtPartitionsExchangeFuture exchFut,
boolean affReady,
boolean updateMoving)
Pre-initializes this topology.
|
void |
GridClientPartitionTopology.beforeExchange(GridDhtPartitionsExchangeFuture exchFut,
boolean initParts,
boolean updateMoving)
Pre-initializes this topology.
|
void |
GridDhtPartitionTopology.beforeExchange(GridDhtPartitionsExchangeFuture exchFut,
boolean affReady,
boolean updateMoving)
Pre-initializes this topology.
|
GridDhtLocalPartition |
GridDhtPartitionTopologyImpl.forceCreatePartition(int p)
Unconditionally creates partition during restore of persisted partition state.
|
GridDhtLocalPartition |
GridClientPartitionTopology.forceCreatePartition(int p)
Unconditionally creates partition during restore of persisted partition state.
|
GridDhtLocalPartition |
GridDhtPartitionTopology.forceCreatePartition(int p)
Unconditionally creates partition during restore of persisted partition state.
|
protected void |
PartitionsEvictManager.start0() |
void |
GridDhtPartitionsStateValidator.validatePartitionCountersAndSizes(GridDhtPartitionsExchangeFuture fut,
GridDhtPartitionTopology top,
Map<UUID,GridDhtPartitionsSingleMessage> messages)
Validates partition states - update counters and cache sizes for all nodes.
|
| Modifier and Type | Method and Description |
|---|---|
IgniteCheckedException |
GridNearSingleGetResponse.error() |
IgniteCheckedException |
GridNearGetResponse.error() |
| Modifier and Type | Method and Description |
|---|---|
void |
GridNearSingleGetResponse.error(IgniteCheckedException err) |
void |
GridNearGetResponse.error(IgniteCheckedException err) |
protected boolean |
GridNearOptimisticTxPrepareFutureAdapter.errorOrTimeoutOnTopologyVersion(IgniteCheckedException e,
boolean timedOut) |
void |
NearTxFinishFuture.onNodeStop(IgniteCheckedException e) |
void |
GridNearTxFinishFuture.onNodeStop(IgniteCheckedException e) |
void |
GridNearTxFastFinishFuture.onNodeStop(IgniteCheckedException e) |
void |
GridNearTxFinishAndAckFuture.onNodeStop(IgniteCheckedException e) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridNearTxRemote.addActiveCache(GridCacheContext cacheCtx,
boolean recovery)
Adds cache to the list of active caches in transaction.
|
void |
GridNearTxRemote.addEntries(ClassLoader ldr,
Iterable<IgniteTxEntry> entries)
Adds entries to started near remote tx.
|
boolean |
GridNearTxRemote.addEntry(GridCacheContext cacheCtx,
IgniteTxKey key,
GridCacheOperation op,
CacheObject val,
@Nullable GridCacheVersion drVer,
boolean skipStore,
boolean keepBinary) |
void |
GridNearLockRequest.addKeyBytes(KeyCacheObject key,
boolean retVal,
@Nullable GridCacheVersion dhtVer,
GridCacheContext ctx)
Adds a key.
|
void |
GridNearLockResponse.addValueBytes(@Nullable CacheObject val,
boolean filterPassed,
@Nullable GridCacheVersion dhtVer,
@Nullable GridCacheVersion mappedVer) |
protected void |
GridNearTxAbstractEnlistFuture.checkCompleted() |
protected void |
GridNearTxAbstractEnlistFuture.clearLocalFuture(GridDhtTxAbstractEnlistFuture fut) |
void |
GridNearTxLocal.close() |
void |
GridNearTxLocal.close(boolean clearThreadMap) |
void |
GridNearTxLocal.commit() |
void |
GridNearLockRequest.filter(CacheEntryPredicate[] filter,
GridCacheContext ctx) |
void |
CacheVersionedValue.finishUnmarshal(GridCacheContext ctx,
ClassLoader ldr)
This method is called after the whole message is received
and is responsible for unmarshalling state.
|
void |
GridNearSingleGetRequest.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridNearTxQueryResultsEnlistRequest.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridNearTxEnlistRequest.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridNearTxEnlistResponse.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridNearTxPrepareResponse.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridNearGetRequest.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr) |
void |
GridNearLockRequest.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridNearTxQueryEnlistResponse.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridNearSingleGetResponse.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridNearTxFinishResponse.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridNearTxQueryEnlistRequest.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridNearGetResponse.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
V |
GridNearAtomicCache.getAndPut(K key,
V val,
@Nullable CacheEntryPredicate filter) |
V |
GridNearAtomicCache.getAndRemove(K key)
Removes given key mapping from cache.
|
<T> javax.cache.processor.EntryProcessorResult<T> |
GridNearAtomicCache.invoke(K key,
javax.cache.processor.EntryProcessor<K,V,T> entryProcessor,
Object... args) |
<T> Map<K,javax.cache.processor.EntryProcessorResult<T>> |
GridNearAtomicCache.invokeAll(Map<? extends K,? extends javax.cache.processor.EntryProcessor<K,V,T>> map,
Object... args) |
<T> Map<K,javax.cache.processor.EntryProcessorResult<T>> |
GridNearAtomicCache.invokeAll(Set<? extends K> keys,
javax.cache.processor.EntryProcessor<K,V,T> entryProcessor,
Object... args) |
boolean |
GridNearCacheEntry.loadedValue(@Nullable IgniteInternalTx tx,
UUID primaryNodeId,
CacheObject val,
GridCacheVersion ver,
GridCacheVersion dhtVer,
long ttl,
long expireTime,
boolean evt,
boolean keepBinary,
AffinityTopologyVersion topVer,
UUID subjId) |
boolean |
GridNearTxLocal.localFinish(boolean commit,
boolean clearThreadMap)
Finishes transaction (either commit or rollback).
|
void |
GridNearCacheAdapter.localLoad(Collection<? extends K> keys,
javax.cache.expiry.ExpiryPolicy plc,
boolean keepBinary) |
void |
GridNearCacheAdapter.localLoadCache(IgniteBiPredicate<K,V> p,
Object[] args)
Delegates to
CacheStore.loadCache(IgniteBiInClosure, Object...) method
to load state from the underlying persistent storage. |
protected WALPointer |
GridNearCacheEntry.logTxUpdate(IgniteInternalTx tx,
CacheObject val,
long expireTime,
long updCntr) |
protected void |
GridNearCacheEntry.logUpdate(GridCacheOperation op,
CacheObject val,
GridCacheVersion ver,
long expireTime,
long updCntr) |
int |
GridNearCacheEntry.memorySize() |
void |
GridNearTxLocal.prepare(boolean awaitLastFuture) |
void |
CacheVersionedValue.prepareMarshal(CacheObjectContext ctx)
This method is called before the whole message is sent
and is responsible for pre-marshalling state.
|
void |
GridNearSingleGetRequest.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridNearTxQueryResultsEnlistRequest.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridNearTxEnlistRequest.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridNearTxEnlistResponse.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridNearTxPrepareResponse.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridNearGetRequest.prepareMarshal(GridCacheSharedContext ctx) |
void |
GridNearLockRequest.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridNearTxQueryEnlistResponse.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridNearSingleGetResponse.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridNearTxFinishResponse.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridNearTxQueryEnlistRequest.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridNearGetResponse.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
boolean |
GridNearAtomicCache.put(K key,
V val,
CacheEntryPredicate filter) |
void |
GridNearAtomicCache.putAll(Map<? extends K,? extends V> m)
Stores given key-value pairs in cache.
|
void |
GridNearAtomicCache.putAllConflict(Map<KeyCacheObject,GridCacheDrInfo> drMap)
Store DR data.
|
IgniteInternalFuture<?> |
GridNearAtomicCache.putAllConflictAsync(Map<KeyCacheObject,GridCacheDrInfo> drMap)
Store DR data asynchronously.
|
protected Object |
GridNearCacheEntry.readThrough(IgniteInternalTx tx,
KeyCacheObject key,
boolean reload,
UUID subjId,
String taskName) |
boolean |
GridNearAtomicCache.remove(K key)
Removes given key mapping from cache.
|
boolean |
GridNearAtomicCache.remove(K key,
@Nullable CacheEntryPredicate filter) |
void |
GridNearAtomicCache.removeAll()
Removes mappings from cache.
|
void |
GridNearAtomicCache.removeAll(Collection<? extends K> keys)
Removes given key mappings from cache.
|
void |
GridNearAtomicCache.removeAllConflict(Map<KeyCacheObject,GridCacheVersion> drMap)
Removes DR data.
|
IgniteInternalFuture<?> |
GridNearAtomicCache.removeAllConflictAsync(Map<KeyCacheObject,GridCacheVersion> drMap)
Removes DR data asynchronously.
|
void |
GridNearTxLocal.resume()
Resumes transaction (possibly in another thread) if it was previously suspended.
|
void |
GridNearTxLocal.rollback() |
void |
GridNearTransactionalCache.start()
Starts this cache.
|
void |
GridNearCacheAdapter.start()
Starts this cache.
|
void |
GridNearAtomicCache.start()
Starts this cache.
|
@Nullable GridNearTxRemote |
GridNearTransactionalCache.startRemoteTx(UUID nodeId,
GridDhtLockRequest req) |
void |
GridNearTxLocal.suspend()
Suspends transaction.
|
void |
GridNearAtomicCache.unlockAll(@Nullable Collection<? extends K> keys)
Unlocks given keys only if current thread owns the locks.
|
protected void |
GridNearTxAbstractEnlistFuture.updateLocalFuture(GridDhtTxAbstractEnlistFuture fut) |
protected void |
GridNearTxAbstractEnlistFuture.updateMappings(ClusterNode node) |
| Constructor and Description |
|---|
GridNearTxRemote(GridCacheSharedContext ctx,
AffinityTopologyVersion topVer,
ClassLoader ldr,
UUID nodeId,
UUID nearNodeId,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
boolean sys,
byte plc,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
boolean invalidate,
long timeout,
Collection<IgniteTxEntry> writeEntries,
int txSize,
@Nullable UUID subjId,
int taskNameHash,
@Nullable String txLbl)
This constructor is meant for optimistic transactions.
|
| Modifier and Type | Class and Description |
|---|---|
class |
IgniteConsistencyViolationException
Possible consistency violation exception.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridOsCacheDrManager.onExchange(AffinityTopologyVersion topVer,
boolean left,
boolean activate)
Process partitions exchange event.
|
void |
GridCacheDrManager.onExchange(AffinityTopologyVersion topVer,
boolean left,
boolean activate)
Process partitions exchange event.
|
void |
GridOsCacheDrManager.onKernalStart() |
void |
GridCacheDrManager.replicate(KeyCacheObject key,
@Nullable CacheObject val,
long ttl,
long expireTime,
GridCacheVersion ver,
GridDrType drType,
AffinityTopologyVersion topVer)
Performs replication.
|
void |
GridOsCacheDrManager.start(GridCacheContext cctx)
Starts manager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CacheNoopJtaManager.checkJta()
Checks if cache is working in JTA transaction and enlist cache as XAResource if necessary.
|
abstract void |
CacheJtaManagerAdapter.checkJta()
Checks if cache is working in JTA transaction and enlist cache as XAResource if necessary.
|
abstract void |
CacheJtaManagerAdapter.registerCache(CacheConfiguration<?,?> cfg) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridLocalLockFuture.addEntries(Collection<KeyCacheObject> keys) |
boolean |
GridLocalCache.localPreloadPartition(int part)
Preloads cache partition if it exists on local node.
|
long |
GridLocalCache.localSizeLong(CachePeekMode[] peekModes) |
long |
GridLocalCache.localSizeLong(int part,
CachePeekMode[] peekModes) |
void |
GridLocalCache.preloadPartition(int part)
Preload cache partition.
|
IgniteInternalFuture<?> |
GridLocalCache.preloadPartitionAsync(int part)
Preload cache partition.
|
void |
GridLocalCache.start()
Starts this cache.
|
void |
GridLocalCache.unlockAll(Collection<? extends K> keys)
Unlocks given keys only if current thread owns the locks.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
GridLocalAtomicCache.checkJta()
Checks if cache is working in JTA transaction and enlist cache as XAResource if necessary.
|
protected V |
GridLocalAtomicCache.get(K key,
String taskName,
boolean deserializeBinary,
boolean needVer) |
Map<K,V> |
GridLocalAtomicCache.getAll(Collection<? extends K> keys,
boolean deserializeBinary,
boolean needVer,
boolean recovery,
boolean readRepair) |
protected V |
GridLocalAtomicCache.getAndPut0(K key,
V val,
@Nullable CacheEntryPredicate filter) |
protected V |
GridLocalAtomicCache.getAndRemove0(K key) |
<T> javax.cache.processor.EntryProcessorResult<T> |
GridLocalAtomicCache.invoke(K key,
javax.cache.processor.EntryProcessor<K,V,T> entryProcessor,
Object... args) |
<T> Map<K,javax.cache.processor.EntryProcessorResult<T>> |
GridLocalAtomicCache.invokeAll(Map<? extends K,? extends javax.cache.processor.EntryProcessor<K,V,T>> map,
Object... args) |
<T> Map<K,javax.cache.processor.EntryProcessorResult<T>> |
GridLocalAtomicCache.invokeAll(Set<? extends K> keys,
javax.cache.processor.EntryProcessor<K,V,T> entryProcessor,
Object... args) |
protected boolean |
GridLocalAtomicCache.put0(K key,
V val,
CacheEntryPredicate filter) |
protected void |
GridLocalAtomicCache.putAll0(Map<? extends K,? extends V> m) |
boolean |
GridLocalAtomicCache.remove0(K key,
CacheEntryPredicate filter) |
void |
GridLocalAtomicCache.removeAll0(Collection<? extends K> keys) |
void |
GridLocalAtomicCache.unlockAll(@Nullable Collection<? extends K> keys)
Unlocks given keys only if current thread owns the locks.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MvccSnapshotFuture.onError(IgniteCheckedException err) |
void |
MvccSnapshotResponseListener.onError(IgniteCheckedException e) |
| Modifier and Type | Method and Description |
|---|---|
void |
MvccCachingManager.addEnlisted(KeyCacheObject key,
@Nullable CacheObject val,
long ttl,
long expireTime,
GridCacheVersion ver,
CacheObject oldVal,
boolean primary,
AffinityTopologyVersion topVer,
MvccVersion mvccVer,
int cacheId,
IgniteInternalTx tx,
IgniteUuid futId,
int batchNum)
Adds enlisted tx entry to cache.
|
void |
MvccProcessorImpl.afterBinaryMemoryRestore(IgniteCacheDatabaseSharedManager mgr,
GridCacheDatabaseSharedManager.RestoreBinaryState restoreState)
Callback executed when binary memory has fully restored and WAL logging is resumed.
|
void |
MvccProcessorImpl.beforeBinaryMemoryRestore(IgniteCacheDatabaseSharedManager mgr)
Callback executed right before node become perform binary recovery.
|
void |
MvccProcessorImpl.beforeResumeWalLogging(IgniteCacheDatabaseSharedManager mgr)
Callback executed when all physical updates are applied and we are ready to write new physical records
during logical recovery.
|
void |
MvccProcessor.ensureStarted()
Starts MVCC processor (i.e. initialises data structures and vacuum) if it has not been started yet.
|
void |
MvccProcessorImpl.ensureStarted()
Starts MVCC processor (i.e. initialises data structures and vacuum) if it has not been started yet.
|
static MvccVersion |
MvccUtils.getNewVersion(GridCacheContext cctx,
long link)
Returns new version of row (xid_max) if any.
|
static int |
MvccUtils.getVisibleState(GridCacheContext cctx,
long link,
MvccSnapshot snapshot)
Checks if a row's new version is visible for the given snapshot.
|
static boolean |
MvccUtils.isActive(GridCacheContext cctx,
long mvccCrd,
long mvccCntr,
MvccSnapshot snapshot) |
static boolean |
MvccUtils.isVisible(GridCacheContext cctx,
MvccSnapshot snapshot,
DataPageIO dataIo,
long pageAddr,
int itemId,
int pageSize) |
static boolean |
MvccUtils.isVisible(GridCacheContext cctx,
MvccSnapshot snapshot,
long mvccCrd,
long mvccCntr,
int opCntr)
Checks if version is visible from the given snapshot.
|
static boolean |
MvccUtils.isVisible(GridCacheContext cctx,
MvccSnapshot snapshot,
long mvccCrd,
long mvccCntr,
int opCntrWithHints,
boolean useTxLog)
Checks if version is visible from the given snapshot.
|
static boolean |
MvccUtils.isVisible(GridCacheContext cctx,
MvccSnapshot snapshot,
long crd,
long cntr,
int opCntr,
long link)
Checks visibility of the given row versions from the given snapshot.
|
static @NotNull MvccQueryTracker |
MvccUtils.mvccTracker(GridCacheContext cctx,
boolean autoStartTx)
Initialises MVCC filter and returns MVCC query tracker if needed.
|
static @NotNull MvccQueryTracker |
MvccUtils.mvccTracker(GridCacheContext cctx,
GridNearTxLocal tx)
Initialises MVCC filter and returns MVCC query tracker if needed.
|
void |
MvccProcessorImpl.onInitDataRegions(IgniteCacheDatabaseSharedManager mgr)
Callback executed when data regions become to start-up.
|
void |
MvccCachingManager.onTxFinished(IgniteInternalTx tx,
boolean commit) |
static MvccSnapshot |
MvccUtils.requestSnapshot(@NotNull GridNearTxLocal tx) |
void |
MvccProcessorImpl.start()
Starts grid component.
|
protected void |
DeadlockDetectionManager.start0() |
void |
MvccProcessor.validateCacheConfiguration(CacheConfiguration ccfg)
Validates cache configuration before start.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TxLog.beforeCheckpointBegin(DbCheckpointListener.Context ctx)
Do some actions before checkpoint write lock.
|
byte |
TxLog.get(long major,
long minor) |
byte |
TxLog.get(TxKey key) |
TxRow |
TxLogTree.getRow(BPlusIO<TxKey> io,
long pageAddr,
int idx,
Object ignored)
Get data row.
|
void |
TxLog.onCheckpointBegin(DbCheckpointListener.Context ctx) |
void |
TxLog.onMarkCheckpointBegin(DbCheckpointListener.Context ctx) |
void |
TxLog.put(TxKey key,
byte state,
boolean primary) |
void |
TxLog.removeUntil(long major,
long minor)
Removes all records less or equals to the given version.
|
| Constructor and Description |
|---|
TxLog(GridKernalContext ctx,
IgniteCacheDatabaseSharedManager mgr) |
TxLogTree(String name,
PageMemory pageMem,
IgniteWriteAheadLogManager wal,
long metaPageId,
ReuseList reuseList,
FailureProcessor failureProcessor,
boolean initNew,
PageLockListener lockLsnr) |
| Modifier and Type | Class and Description |
|---|---|
class |
StorageException
Exception is needed to distinguish WAL manager & page store critical I/O errors.
|
| Modifier and Type | Method and Description |
|---|---|
protected long |
DataStructure.acquirePage(long pageId,
IoStatisticsHolder statHolder) |
void |
IgniteCacheDatabaseSharedManager.addDataRegion(DataStorageConfiguration dataStorageCfg,
DataRegionConfiguration dataRegionCfg,
boolean trackable) |
void |
RowStore.addRow(CacheDataRow row,
IoStatisticsHolder statHolder) |
void |
RowStore.addRows(Collection<? extends CacheDataRow> rows,
IoStatisticsHolder statHolder) |
default void |
DatabaseLifecycleListener.afterBinaryMemoryRestore(IgniteCacheDatabaseSharedManager mgr,
GridCacheDatabaseSharedManager.RestoreBinaryState restoreState)
Callback executed when binary memory has fully restored and WAL logging is resumed.
|
default void |
DatabaseLifecycleListener.afterInitialise(IgniteCacheDatabaseSharedManager mgr)
Callback executed after all data regions are initialized.
|
default void |
DatabaseLifecycleListener.afterLogicalUpdatesApplied(IgniteCacheDatabaseSharedManager mgr,
GridCacheDatabaseSharedManager.RestoreLogicalState restoreState)
Callback executed when all logical updates were applied and page memory become to fully consistent state.
|
RootPage |
IndexStorage.allocateCacheIndex(Integer cacheId,
String idxName,
int segment)
Allocate page for cache index.
|
RootPage |
IndexStorageImpl.allocateCacheIndex(Integer cacheId,
String idxName,
int segment)
Allocate page for cache index.
|
RootPage |
IndexStorage.allocateIndex(String idxName)
Get or allocate initial page for an index.
|
RootPage |
IndexStorageImpl.allocateIndex(String idxName)
Get or allocate initial page for an index.
|
protected long |
DataStructure.allocatePage(ReuseBag bag)
Shorthand for
allocatePage(bag, true). |
protected long |
DataStructure.allocatePage(ReuseBag bag,
boolean useRecycled) |
protected long |
DataStructure.allocatePageNoReuse() |
void |
GridCacheDatabaseSharedManager.applyPageSnapshot(PageMemoryEx pageMem,
PageSnapshot pageSnapshotRecord) |
void |
GridCacheDatabaseSharedManager.applyUpdatesOnRecovery(@Nullable WALIterator it,
IgniteBiPredicate<WALPointer,WALRecord> recPredicate,
IgnitePredicate<DataEntry> entryPredicate)
Apply update from some iterator and with specific filters.
|
default void |
DatabaseLifecycleListener.beforeBinaryMemoryRestore(IgniteCacheDatabaseSharedManager mgr)
Callback executed right before node become perform binary recovery.
|
void |
GridCacheOffheapManager.beforeCheckpointBegin(DbCheckpointListener.Context ctx)
Do some actions before checkpoint write lock.
|
void |
DbCheckpointListener.beforeCheckpointBegin(DbCheckpointListener.Context ctx)
Do some actions before checkpoint write lock.
|
void |
GridCacheDatabaseSharedManager.beforeExchange(GridDhtPartitionsExchangeFuture fut) |
void |
IgniteCacheDatabaseSharedManager.beforeExchange(GridDhtPartitionsExchangeFuture discoEvt) |
default void |
DatabaseLifecycleListener.beforeResumeWalLogging(IgniteCacheDatabaseSharedManager mgr)
Callback executed when all physical updates are applied and we are ready to write new physical records
during logical recovery.
|
protected @Nullable File |
IgniteCacheDatabaseSharedManager.buildAllocPath(DataRegionConfiguration plc)
Builds allocation path for memory mapped file to be used with PageMemory.
|
protected File |
IgniteCacheDatabaseSharedManager.buildPath(String path,
String consId) |
void |
GridCacheDatabaseSharedManager.cancelOrWaitPartitionDestroy(int grpId,
int partId)
Cancels or wait for partition destroy.
|
protected void |
GridCacheDatabaseSharedManager.checkRegionEvictionProperties(DataRegionConfiguration regCfg,
DataStorageConfiguration dbCfg) |
protected void |
IgniteCacheDatabaseSharedManager.checkRegionEvictionProperties(DataRegionConfiguration regCfg,
DataStorageConfiguration dbCfg) |
int |
GridCacheOffheapManager.GridCacheDataStore.cleanup(GridCacheContext cctx,
@Nullable List<MvccLinkAwareSearchRow> cleanupRows) |
void |
GridCacheDatabaseSharedManager.cleanupCheckpointDirectory()
Clean checkpoint directory
GridCacheDatabaseSharedManager.cpDir. |
void |
IgniteCacheDatabaseSharedManager.cleanupCheckpointDirectory()
Clean checkpoint directory
GridCacheDatabaseSharedManager.cpDir. |
void |
GridCacheDatabaseSharedManager.cleanupTempCheckpointDirectory()
Cleanup checkpoint directory from all temporary files.
|
void |
IgniteCacheDatabaseSharedManager.cleanupTempCheckpointDirectory()
No-op for non-persistent storage.
|
void |
GridCacheOffheapManager.GridCacheDataStore.clear(int cacheId)
Clears all the records associated with logical cache with given ID.
|
protected IgniteCacheOffheapManager.CacheDataStore |
GridCacheOffheapManager.createCacheDataStore0(int p) |
CacheDataRow |
GridCacheOffheapManager.GridCacheDataStore.createRow(GridCacheContext cctx,
KeyCacheObject key,
CacheObject val,
GridCacheVersion ver,
long expireTime,
@Nullable CacheDataRow oldRow) |
GridCursor<? extends CacheDataRow> |
GridCacheOffheapManager.GridCacheDataStore.cursor() |
GridCursor<? extends CacheDataRow> |
GridCacheOffheapManager.GridCacheDataStore.cursor(int cacheId) |
GridCursor<? extends CacheDataRow> |
GridCacheOffheapManager.GridCacheDataStore.cursor(int cacheId,
KeyCacheObject lower,
KeyCacheObject upper) |
GridCursor<? extends CacheDataRow> |
GridCacheOffheapManager.GridCacheDataStore.cursor(int cacheId,
KeyCacheObject lower,
KeyCacheObject upper,
Object x) |
GridCursor<? extends CacheDataRow> |
GridCacheOffheapManager.GridCacheDataStore.cursor(int cacheId,
KeyCacheObject lower,
KeyCacheObject upper,
Object x,
MvccSnapshot mvccSnapshot) |
GridCursor<? extends CacheDataRow> |
GridCacheOffheapManager.GridCacheDataStore.cursor(int cacheId,
MvccSnapshot mvccSnapshot) |
GridCursor<? extends CacheDataRow> |
GridCacheOffheapManager.GridCacheDataStore.cursor(MvccSnapshot mvccSnapshot) |
GridCursor<? extends CacheDataRow> |
GridCacheOffheapManager.GridCacheDataStore.cursor(Object x) |
DataRegion |
IgniteCacheDatabaseSharedManager.dataRegion(String memPlcName) |
void |
IndexStorage.destroy()
Destroy this meta store.
|
void |
GridCacheOffheapManager.GridCacheDataStore.destroy()
Destroys the tree associated with the store.
|
void |
IndexStorageImpl.destroy()
Destroy this meta store.
|
protected void |
GridCacheOffheapManager.destroyCacheDataStore0(IgniteCacheOffheapManager.CacheDataStore store) |
void |
GridCacheOffheapManager.destroyPartitionStore(int grpId,
int partId)
Invalidates page memory for given partition.
|
RootPage |
IndexStorage.dropCacheIndex(Integer cacheId,
String idxName,
int segment)
Deallocate index page and remove from tree.
|
RootPage |
IndexStorageImpl.dropCacheIndex(Integer cacheId,
String idxName,
int segment)
Deallocate index page and remove from tree.
|
RootPage |
IndexStorage.dropIndex(String idxName)
Deallocate index page and remove from tree.
|
RootPage |
IndexStorageImpl.dropIndex(String idxName)
Deallocate index page and remove from tree.
|
void |
GridCacheOffheapManager.dropRootPageForIndex(int cacheId,
String idxName,
int segment) |
void |
IgniteCacheDatabaseSharedManager.ensureFreeSpace(DataRegion memPlc)
|
boolean |
GridCacheOffheapManager.expire(GridCacheContext cctx,
IgniteInClosure2X<GridCacheEntryEx,GridCacheVersion> c,
int amount) |
long |
GridCacheOffheapManager.expiredSize()
Gets the number of entries pending expire.
|
long |
GridCacheOffheapManager.GridCacheDataStore.expiredSize()
Gets the number of entries pending expire.
|
CacheDataRow |
GridCacheOffheapManager.GridCacheDataStore.find(GridCacheContext cctx,
KeyCacheObject key) |
void |
GridCacheOffheapManager.findAndCleanupLostIndexesForStoppedCache(int cacheId) |
Collection<String> |
IndexStorage.getIndexNames() |
Collection<String> |
IndexStorageImpl.getIndexNames() |
org.apache.ignite.internal.processors.cache.persistence.IndexStorageImpl.IndexItem |
IndexStorageImpl.MetaStoreInnerIO.getLookupRow(BPlusTree<org.apache.ignite.internal.processors.cache.persistence.IndexStorageImpl.IndexItem,?> tree,
long pageAddr,
int idx)
Get lookup row.
|
org.apache.ignite.internal.processors.cache.persistence.IndexStorageImpl.IndexItem |
IndexStorageImpl.MetaStoreLeafIO.getLookupRow(BPlusTree<org.apache.ignite.internal.processors.cache.persistence.IndexStorageImpl.IndexItem,?> tree,
long pageAddr,
int idx)
Get lookup row.
|
PageStore |
GridCacheDatabaseSharedManager.getPageStore(int grpId,
int partId) |
protected @Nullable IgniteHistoricalIterator |
GridCacheOffheapManager.historicalIterator(CachePartitionPartialCountersMap partCntrs,
Set<Integer> missing) |
protected void |
DataStructure.init(long pageId,
PageIO init) |
protected void |
IgniteCacheDatabaseSharedManager.initAndStartRegions(DataStorageConfiguration cfg) |
protected void |
IgniteCacheDatabaseSharedManager.initDataRegions(DataStorageConfiguration memCfg) |
protected void |
GridCacheDatabaseSharedManager.initDataRegions0(DataStorageConfiguration memCfg) |
protected void |
IgniteCacheDatabaseSharedManager.initDataRegions0(DataStorageConfiguration memCfg) |
protected void |
GridCacheOffheapManager.initDataStructures() |
void |
CacheDataRowAdapter.initFromDataPage(DataPageIO io,
long pageAddr,
int itemId,
@Nullable CacheGroupContext grp,
GridCacheSharedContext<?,?> sharedCtx,
PageMemory pageMem,
CacheDataRowAdapter.RowData rowData,
boolean skipVer) |
void |
CacheDataRowAdapter.initFromLink(CacheGroupContext grp,
CacheDataRowAdapter.RowData rowData)
Read row from data pages.
|
void |
CacheDataRowAdapter.initFromLink(CacheGroupContext grp,
CacheDataRowAdapter.RowData rowData,
boolean skipVer)
Read row from data pages.
|
void |
CacheDataRowAdapter.initFromLink(@Nullable CacheGroupContext grp,
GridCacheSharedContext<?,?> sharedCtx,
PageMemory pageMem,
CacheDataRowAdapter.RowData rowData,
boolean skipVer)
Read row from data pages.
|
protected void |
IgniteCacheDatabaseSharedManager.initPageMemoryDataStructures(DataStorageConfiguration dbCfg) |
protected void |
GridCacheOffheapManager.initPendingTree(GridCacheContext cctx) |
void |
GridCacheOffheapManager.GridCacheDataStore.insertRows(Collection<DataRowCacheAware> rows,
IgnitePredicateX<CacheDataRow> initPred)
Insert rows into page memory.
|
void |
GridCacheOffheapManager.GridCacheDataStore.invoke(GridCacheContext cctx,
KeyCacheObject key,
IgniteCacheOffheapManager.OffheapInvokeClosure c) |
boolean |
GridCacheDatabaseSharedManager.isCheckpointInapplicableForWalRebalance(Long cpTs,
int grpId)
Checks that checkpoint with timestamp
cpTs is inapplicable as start point for WAL rebalance for given group grpId. |
void |
GridCacheOffheapManager.GridCacheDataStore.markDestroyed()
Mark store as destroyed.
|
GridCursor<CacheDataRow> |
GridCacheOffheapManager.GridCacheDataStore.mvccAllVersionsCursor(GridCacheContext cctx,
KeyCacheObject key,
Object x)
Returns iterator over the all row versions for the given key.
|
boolean |
GridCacheOffheapManager.GridCacheDataStore.mvccApplyHistoryIfAbsent(GridCacheContext cctx,
KeyCacheObject key,
List<GridCacheMvccEntryInfo> hist)
Tries to apply entry history.
|
void |
GridCacheOffheapManager.GridCacheDataStore.mvccApplyUpdate(GridCacheContext cctx,
KeyCacheObject key,
CacheObject val,
GridCacheVersion ver,
long expireTime,
MvccVersion mvccVer) |
CacheDataRow |
GridCacheOffheapManager.GridCacheDataStore.mvccFind(GridCacheContext cctx,
KeyCacheObject key,
MvccSnapshot snapshot) |
List<IgniteBiTuple<Object,MvccVersion>> |
GridCacheOffheapManager.GridCacheDataStore.mvccFindAllVersions(GridCacheContext cctx,
KeyCacheObject key)
For testing only.
|
boolean |
GridCacheOffheapManager.GridCacheDataStore.mvccInitialValue(GridCacheContext cctx,
KeyCacheObject key,
@Nullable CacheObject val,
GridCacheVersion ver,
long expireTime,
MvccVersion mvccVer,
MvccVersion newMvccVer) |
MvccUpdateResult |
GridCacheOffheapManager.GridCacheDataStore.mvccLock(GridCacheContext cctx,
KeyCacheObject key,
MvccSnapshot mvccSnapshot) |
MvccUpdateResult |
GridCacheOffheapManager.GridCacheDataStore.mvccRemove(GridCacheContext cctx,
KeyCacheObject key,
MvccSnapshot mvccVer,
CacheEntryPredicate filter,
boolean primary,
boolean needHistory,
boolean needOldVal,
boolean retVal) |
void |
GridCacheOffheapManager.GridCacheDataStore.mvccRemoveAll(GridCacheContext cctx,
KeyCacheObject key) |
MvccUpdateResult |
GridCacheOffheapManager.GridCacheDataStore.mvccUpdate(GridCacheContext cctx,
KeyCacheObject key,
CacheObject val,
GridCacheVersion ver,
long expireTime,
MvccSnapshot mvccVer,
CacheEntryPredicate filter,
javax.cache.processor.EntryProcessor entryProc,
Object[] invokeArgs,
boolean primary,
boolean needHistory,
boolean noCreate,
boolean needOldVal,
boolean retVal,
boolean keepBinary) |
boolean |
GridCacheOffheapManager.GridCacheDataStore.mvccUpdateRowWithPreloadInfo(GridCacheContext cctx,
KeyCacheObject key,
@Nullable CacheObject val,
GridCacheVersion ver,
long expireTime,
MvccVersion mvccVer,
MvccVersion newMvccVer,
byte mvccTxState,
byte newMvccTxState)
Apply update with full history.
|
WALRecord |
GridCacheDatabaseSharedManager.RestoreBinaryState.next()
Advance iterator to the next record.
|
void |
GridCacheDatabaseSharedManager.notifyMetaStorageSubscribersOnReadyForRead()
Notifies
MetastorageLifecycleListener that MetaStorage is ready for read. |
void |
IgniteCacheDatabaseSharedManager.notifyMetaStorageSubscribersOnReadyForRead()
Notifies
MetastorageLifecycleListener that MetaStorage is ready for read. |
void |
GridCacheDatabaseSharedManager.onActivate(GridKernalContext ctx)
Called when cluster performing activation.
|
void |
IgniteCacheDatabaseSharedManager.onActivate(GridKernalContext kctx)
Called when cluster performing activation.
|
default void |
DatabaseLifecycleListener.onBaselineChange()
Callback executed when node detected that baseline topology is changed and node is not in that baseline.
|
void |
GridCacheOffheapManager.onCheckpointBegin(DbCheckpointListener.Context ctx) |
void |
DbCheckpointListener.onCheckpointBegin(DbCheckpointListener.Context ctx) |
default void |
DatabaseLifecycleListener.onInitDataRegions(IgniteCacheDatabaseSharedManager mgr)
Callback executed when data regions become to start-up.
|
void |
GridCacheOffheapManager.onMarkCheckpointBegin(DbCheckpointListener.Context ctx) |
void |
DbCheckpointListener.onMarkCheckpointBegin(DbCheckpointListener.Context ctx) |
void |
GridCacheDatabaseSharedManager.onStateRestored(AffinityTopologyVersion topVer)
Called when all partitions have been fully restored and pre-created on node start.
|
void |
IgniteCacheDatabaseSharedManager.onStateRestored(AffinityTopologyVersion topVer)
Called when all partitions have been fully restored and pre-created on node start.
|
void |
GridCacheDatabaseSharedManager.onWalTruncated(WALPointer highBound)
Wal truncate callBack.
|
void |
GridCacheOffheapManager.GridCacheDataStore.preload()
Preload a store into page memory.
|
void |
GridCacheOffheapManager.preloadPartition(int part)
Preload a partition.
|
int |
GridCacheOffheapManager.GridCacheDataStore.purgeExpired(GridCacheContext cctx,
IgniteInClosure2X<GridCacheEntryEx,GridCacheVersion> c,
int amount)
Try to remove expired entries from data store.
|
protected <X,R> R |
DataStructure.read(long pageId,
long page,
PageHandler<X,R> h,
X arg,
int intArg,
R lockFailed,
IoStatisticsHolder statHolder) |
protected <X,R> R |
DataStructure.read(long pageId,
PageHandler<X,R> h,
X arg,
int intArg,
R lockFailed,
IoStatisticsHolder statHolder) |
protected IncompleteObject<?> |
CacheDataRowAdapter.readFragment(GridCacheSharedContext<?,?> sharedCtx,
CacheObjectContext coctx,
ByteBuffer buf,
boolean keyOnly,
boolean readCacheId,
IncompleteObject<?> incomplete,
boolean skipVer) |
protected void |
CacheDataRowAdapter.readFullRow(GridCacheSharedContext<?,?> sharedCtx,
CacheObjectContext coctx,
long addr,
CacheDataRowAdapter.RowData rowData,
boolean readCacheId,
boolean skipVer) |
protected IncompleteCacheObject |
CacheDataRowAdapter.readIncompleteKey(CacheObjectContext coctx,
ByteBuffer buf,
IncompleteCacheObject incomplete) |
protected IncompleteCacheObject |
CacheDataRowAdapter.readIncompleteValue(CacheObjectContext coctx,
ByteBuffer buf,
IncompleteCacheObject incomplete) |
protected IncompleteObject<?> |
CacheDataRowAdapter.readIncompleteVersion(ByteBuffer buf,
IncompleteObject<?> incomplete,
boolean skip) |
protected long |
DataStructure.recyclePage(long pageId,
long page,
long pageAddr,
Boolean walPlc) |
void |
GridCacheOffheapManager.GridCacheDataStore.remove(GridCacheContext cctx,
KeyCacheObject key,
int partId) |
void |
RowStore.removeRow(long link,
IoStatisticsHolder statHolder) |
long |
GridCacheOffheapManager.restorePartitionStates(Map<GroupPartitionId,Integer> partitionRecoveryStates)
Pre-create partitions that resides in page memory or WAL and restores their state.
|
RootPage |
GridCacheOffheapManager.rootPageForIndex(int cacheId,
String idxName,
int segment) |
int |
Storable.size() |
int |
CacheDataRowAdapter.size() |
protected void |
GridCacheDatabaseSharedManager.start0() |
protected void |
IgniteCacheDatabaseSharedManager.start0() |
void |
GridCacheDatabaseSharedManager.startMemoryRestore(GridKernalContext kctx,
TimeBag startTimer)
Perform memory restore before
GridDiscoveryManager start. |
void |
IgniteCacheDatabaseSharedManager.startMemoryRestore(GridKernalContext kctx,
TimeBag startTimer)
Perform memory restore before
GridDiscoveryManager start. |
void |
IndexStorageImpl.MetaStoreInnerIO.store(long dstPageAddr,
int dstIdx,
BPlusIO<org.apache.ignite.internal.processors.cache.persistence.IndexStorageImpl.IndexItem> srcIo,
long srcPageAddr,
int srcIdx)
Store row info from the given source.
|
void |
IndexStorageImpl.MetaStoreLeafIO.store(long dstPageAddr,
int dstIdx,
BPlusIO<org.apache.ignite.internal.processors.cache.persistence.IndexStorageImpl.IndexItem> srcIo,
long srcPageAddr,
int srcIdx)
Store row info from the given source.
|
void |
IndexStorageImpl.MetaStoreInnerIO.storeByOffset(long pageAddr,
int off,
org.apache.ignite.internal.processors.cache.persistence.IndexStorageImpl.IndexItem row)
Store the needed info about the row in the page.
|
void |
IndexStorageImpl.MetaStoreLeafIO.storeByOffset(long buf,
int off,
org.apache.ignite.internal.processors.cache.persistence.IndexStorageImpl.IndexItem row)
Store the needed info about the row in the page.
|
void |
GridCacheDatabaseSharedManager.stripedApplyPage(Consumer<PageMemoryEx> consumer,
int grpId,
int partId,
StripedExecutor exec,
Semaphore semaphore) |
void |
GridCacheDatabaseSharedManager.FileLockHolder.tryLock(long lockWaitTimeMillis) |
void |
GridCacheOffheapManager.GridCacheDataStore.update(GridCacheContext cctx,
KeyCacheObject key,
CacheObject val,
GridCacheVersion ver,
long expireTime,
@Nullable CacheDataRow oldRow) |
<S,R> void |
RowStore.updateDataRow(long link,
PageHandler<S,R> pageHnd,
S arg,
IoStatisticsHolder statHolder)
Run page handler operation over the row.
|
boolean |
RowStore.updateRow(long link,
CacheDataRow row,
IoStatisticsHolder statHolder) |
void |
GridCacheOffheapManager.GridCacheDataStore.updateTxState(GridCacheContext cctx,
CacheSearchRow row) |
void |
IgniteCacheDatabaseSharedManager.waitForCheckpoint(String reason)
Waits until current state is checkpointed.
|
<R> void |
GridCacheDatabaseSharedManager.waitForCheckpoint(String reason,
IgniteInClosure<? super IgniteInternalFuture<R>> lsnr)
Waits until current state is checkpointed and execution listeners after finish.
|
<R> void |
IgniteCacheDatabaseSharedManager.waitForCheckpoint(String reason,
IgniteInClosure<? super IgniteInternalFuture<R>> lsnr)
Waits until current state is checkpointed and execution listeners after finish.
|
protected <X,R> R |
DataStructure.write(long pageId,
long page,
PageHandler<X,R> h,
X arg,
int intArg,
R lockFailed,
IoStatisticsHolder statHolder) |
protected <R> R |
DataStructure.write(long pageId,
PageHandler<?,R> h,
int intArg,
R lockFailed,
IoStatisticsHolder statHolder) |
protected <X,R> R |
DataStructure.write(long pageId,
PageHandler<X,R> h,
PageIO init,
X arg,
int intArg,
R lockFailed,
IoStatisticsHolder statHolder) |
protected <X,R> R |
DataStructure.write(long pageId,
PageHandler<X,R> h,
X arg,
int intArg,
R lockFailed,
IoStatisticsHolder statHolder) |
void |
PageStoreWriter.writePage(FullPageId fullPageId,
ByteBuffer buf,
int tag)
Callback for write page.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Integer,CheckpointEntry.GroupState> |
CheckpointEntry.groupState(GridCacheSharedContext cctx) |
@Nullable WALPointer |
CheckpointHistory.searchEarliestWalPointer(int grpId,
Map<Integer,Long> partsCounter)
Search the earliest WAL pointer for particular group, matching by counter for partitions.
|
void |
PartitionDestroyRequest.waitCompleted() |
| Modifier and Type | Method and Description |
|---|---|
static String |
ToFileDumpProcessor.toFileDump(PageLockDump pageLockDump,
File dir,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
Random2LruPageEvictionTracker.evictDataPage()
Evicts one data page.
|
void |
NoOpPageEvictionTracker.evictDataPage()
Evicts one data page.
|
void |
RandomLruPageEvictionTracker.evictDataPage()
Evicts one data page.
|
void |
FairFifoPageEvictionTracker.evictDataPage()
Evicts one data page.
|
void |
PageEvictionTracker.evictDataPage()
Evicts one data page.
|
void |
NoOpPageEvictionTracker.forgetPage(long pageId)
Call this method when last entry is removed from data page.
|
void |
FairFifoPageEvictionTracker.forgetPage(long pageId)
Call this method when last entry is removed from data page.
|
void |
PageEvictionTracker.forgetPage(long pageId)
Call this method when last entry is removed from data page.
|
void |
Random2LruPageEvictionTracker.touchPage(long pageId)
Call this method when data page is accessed.
|
void |
NoOpPageEvictionTracker.touchPage(long pageId)
Call this method when data page is accessed.
|
void |
RandomLruPageEvictionTracker.touchPage(long pageId)
Call this method when data page is accessed.
|
void |
FairFifoPageEvictionTracker.touchPage(long pageId)
Call this method when data page is accessed.
|
void |
PageEvictionTracker.touchPage(long pageId)
Call this method when data page is accessed.
|
| Modifier and Type | Method and Description |
|---|---|
long |
FilePageStore.allocatePage()
Allocates next page index.
|
long |
FilePageStoreManager.allocatePage(int grpId,
int partId,
byte flags)
Allocates a page for the given page space.
|
boolean |
FilePageStoreManager.checkAndInitCacheWorkDir(CacheConfiguration cacheCfg)
Creates and initializes cache work directory retrieved from
cacheCfg. |
void |
FilePageStoreManager.cleanupPersistentSpace()
Cleanup persistent space for all caches except metastore.
|
void |
FilePageStoreManager.cleanupPersistentSpace(CacheConfiguration cacheConfiguration)
Cleanup persistent space for cache.
|
default PageStore |
FilePageStoreFactory.createPageStore(byte type,
File file,
LongAdderMetric allocatedTracker)
Creates instance of PageStore based on given file.
|
PageStore |
FileVersionCheckingFactory.createPageStore(byte type,
IgniteOutClosure<Path> pathProvider,
LongAdderMetric allocatedTracker)
Creates instance of PageStore based on file path provider.
|
PageStore |
FilePageStoreFactory.createPageStore(byte type,
IgniteOutClosure<Path> pathProvider,
LongAdderMetric allocatedTracker)
Creates instance of PageStore based on file path provider.
|
void |
FilePageStore.ensure() |
void |
FilePageStoreManager.ensure(int grpId,
int partId) |
boolean |
FilePageStoreManager.exists(int grpId,
int partId)
Checks if partition store exists.
|
void |
FilePageStoreManager.finishRecover()
Invoked after checkpoint recover is finished.
|
PageStore |
FilePageStoreManager.getStore(int grpId,
int partId) |
Collection<PageStore> |
FilePageStoreManager.getStores(int grpId) |
void |
FilePageStoreManager.initialize(int cacheId,
int partitions,
String workingDir,
LongAdderMetric tracker)
Initializes disk store structures.
|
void |
FilePageStoreManager.initializeForCache(CacheGroupDescriptor grpDesc,
StoredCacheData cacheData)
Callback called when a cache is starting.
|
void |
FilePageStoreManager.initializeForMetastorage()
Initializes disk cache store structures.
|
void |
FilePageStoreManager.onActivate(GridKernalContext kctx)
Called when cluster performing activation.
|
void |
FilePageStoreManager.onPartitionDestroyed(int grpId,
int partId,
int tag)
Callback called when a partition for the given cache is evicted from the local node.
|
long |
FilePageStoreManager.pageOffset(int grpId,
long pageId)
Gets page offset within the page store file.
|
int |
FilePageStoreManager.pages(int grpId,
int partId)
Gets total number of allocated pages for the given space.
|
void |
FilePageStoreManager.read(int grpId,
long pageId,
ByteBuffer pageBuf)
Reads a page for the given cache ID.
|
void |
FilePageStoreManager.read(int grpId,
long pageId,
ByteBuffer pageBuf,
boolean keepCrc)
Will preserve crc in buffer if keepCrc is true.
|
boolean |
FilePageStore.read(long pageId,
ByteBuffer pageBuf,
boolean keepCrc)
Reads a page.
|
Map<String,StoredCacheData> |
FilePageStoreManager.readCacheConfigurations() |
void |
FilePageStore.readHeader(ByteBuffer buf)
Reads a header.
|
void |
FilePageStoreManager.readHeader(int grpId,
int partId,
ByteBuffer buf)
Reads a header of a page store.
|
void |
FilePageStoreManager.removeCacheData(StoredCacheData cacheData)
Remove cache configuration data file.
|
void |
FilePageStoreManager.shutdownForCacheGroup(CacheGroupContext grp,
boolean destroy)
Callback called when a cache is stopping.
|
InetSocketAddress |
FileDownloader.start() |
void |
FilePageStoreManager.start0() |
void |
FilePageStoreManager.storeCacheData(StoredCacheData cacheData,
boolean overwrite) |
void |
FilePageStoreManager.sync(int grpId,
int partId)
Makes sure that all previous writes to the store has been written to disk.
|
void |
FilePageStoreManager.write(int grpId,
long pageId,
ByteBuffer pageBuf,
int tag)
Writes the page for the given cache ID.
|
void |
FilePageStore.write(long pageId,
ByteBuffer pageBuf,
int tag,
boolean calculateCrc)
Writes a page.
|
PageStore |
FilePageStoreManager.writeInternal(int cacheId,
long pageId,
ByteBuffer pageBuf,
int tag,
boolean calculateCrc) |
| Modifier and Type | Method and Description |
|---|---|
PdsFolderSettings |
PdsConsistentIdProcessor.resolveFolders()
Prepares and caches PDS folder settings.
|
PdsFolderSettings |
PdsFoldersResolver.resolveFolders()
Prepares and caches PDS folder settings.
|
void |
PdsConsistentIdProcessor.stop(boolean cancel)
Stops grid component.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CorruptedFreeListException
Exception to distinguish
AbstractFreeList broken invariants. |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractFreeList.addForRecycle(ReuseBag bag) |
protected void |
PagesList.init(long metaPageId,
boolean initNew) |
protected long |
PagesList.initReusedPage(long reusedPageId,
long reusedPage,
long reusedPageAddr,
int partId,
byte flag,
PageIO initIo)
Reused page must obtain correctly assembled page id, then initialized by proper
PageIO instance and
non-zero itemId of reused page id must be saved into special place. |
void |
CacheFreeList.insertDataRow(CacheDataRow row,
IoStatisticsHolder statHolder) |
void |
FreeList.insertDataRow(T row,
IoStatisticsHolder statHolder) |
void |
AbstractFreeList.insertDataRow(T row,
IoStatisticsHolder statHolder) |
void |
FreeList.insertDataRows(Collection<T> rows,
IoStatisticsHolder statHolder) |
void |
AbstractFreeList.insertDataRows(Collection<T> rows,
IoStatisticsHolder statHolder)
Reduces the workload on the free list by writing multiple rows into a single memory page at once.
|
protected void |
PagesList.put(@Nullable ReuseBag bag,
long dataId,
long dataPage,
long dataAddr,
int bucket,
IoStatisticsHolder statHolder) |
long |
AbstractFreeList.recycledPagesCount() |
protected boolean |
PagesList.removeDataPage(long dataId,
long dataPage,
long dataAddr,
AbstractDataPageIO dataIO,
int bucket,
IoStatisticsHolder statHolder)
Removes data page from bucket, merges bucket list if needed.
|
void |
FreeList.removeDataRowByLink(long link,
IoStatisticsHolder statHolder) |
void |
AbstractFreeList.removeDataRowByLink(long link,
IoStatisticsHolder statHolder) |
void |
PagesList.saveMetadata(IoStatisticsHolder statHolder)
Save metadata without exclusive lock on it.
|
int |
SimpleDataRow.size() |
protected long |
PagesList.storedPagesCount(int bucket)
!!!
|
protected long |
PagesList.takeEmptyPage(int bucket,
@Nullable IOVersions initIoVers,
IoStatisticsHolder statHolder) |
long |
AbstractFreeList.takeRecycledPage() |
<S,R> R |
FreeList.updateDataRow(long link,
PageHandler<S,R> pageHnd,
S arg,
IoStatisticsHolder statHolder) |
<S,R> R |
AbstractFreeList.updateDataRow(long link,
PageHandler<S,R> pageHnd,
S arg,
IoStatisticsHolder statHolder) |
boolean |
FreeList.updateDataRow(long link,
T row,
IoStatisticsHolder statHolder) |
boolean |
AbstractFreeList.updateDataRow(long link,
T row,
IoStatisticsHolder statHolder) |
| Constructor and Description |
|---|
AbstractFreeList(int cacheId,
String name,
DataRegionMetricsImpl memMetrics,
DataRegion memPlc,
ReuseList reuseList,
IgniteWriteAheadLogManager wal,
long metaPageId,
boolean initNew,
PageLockListener lockLsnr,
GridKernalContext ctx,
AtomicLong pageListCacheLimit) |
CacheFreeList(int cacheId,
String name,
DataRegionMetricsImpl regionMetrics,
DataRegion dataRegion,
IgniteWriteAheadLogManager wal,
long metaPageId,
boolean initNew,
PageLockListener lockLsnr,
GridKernalContext ctx,
AtomicLong pageListCacheLimit) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
PagesListMetaIO.printPage(long addr,
int pageSize,
GridStringBuilder sb) |
protected void |
PagesListNodeIO.printPage(long addr,
int pageSize,
GridStringBuilder sb) |
| Modifier and Type | Method and Description |
|---|---|
void |
MetaStorage.TmpStorage.add(String key,
byte[] val)
Put data
|
long |
MetastorageRowStore.addRow(byte[] val) |
protected long |
MetastorageTree.allocatePageNoReuse() |
void |
MetaStorage.applyUpdate(String key,
byte[] value) |
void |
MetaStorage.beforeCheckpointBegin(DbCheckpointListener.Context ctx)
Do some actions before checkpoint write lock.
|
protected int |
MetastorageTree.compare(BPlusIO<MetastorageRow> io,
long pageAddr,
int idx,
MetastorageRow row) |
static <IO extends BPlusIO<MetastorageRow> & MetastorageBPlusIO> |
MetastoragePageIOUtils.getDataRow(IO io,
long pageAddr,
int idx,
MetastorageRowStore rowStore) |
MetastorageDataRow |
MetastorageBPlusIO.getDataRow(long pageAddr,
int idx,
MetastorageRowStore rowStore) |
MetastorageDataRow |
MetastorageLeafIO.getDataRow(long pageAddr,
int idx,
MetastorageRowStore rowStore) |
MetastorageDataRow |
MetastorageInnerIO.getDataRow(long pageAddr,
int idx,
MetastorageRowStore rowStore) |
static <IO extends BPlusIO<MetastorageRow> & MetastorageBPlusIO> |
MetastoragePageIOUtils.getKey(IO io,
long pageAddr,
int idx,
MetastorageRowStore rowStore) |
String |
MetastorageBPlusIO.getKey(long pageAddr,
int idx,
MetastorageRowStore rowStore) |
String |
MetastorageLeafIO.getKey(long pageAddr,
int idx,
MetastorageRowStore rowStore) |
String |
MetastorageInnerIO.getKey(long pageAddr,
int idx,
MetastorageRowStore rowStore) |
MetastorageRow |
MetastorageLeafIO.getLookupRow(BPlusTree<MetastorageRow,?> tree,
long pageAddr,
int idx)
Get lookup row.
|
MetastorageRow |
MetastorageInnerIO.getLookupRow(BPlusTree<MetastorageRow,?> tree,
long pageAddr,
int idx)
Get lookup row.
|
MetastorageDataRow |
MetastorageTree.getRow(BPlusIO<MetastorageRow> io,
long pageAddr,
int idx,
Object x)
Get data row.
|
void |
MetaStorage.init(GridCacheDatabaseSharedManager db) |
void |
MetaStorage.iterate(String keyPrefix,
BiConsumer<String,? super Serializable> cb,
boolean unmarshal)
Read all key/value pairs where key has provided prefix.
|
void |
ReadOnlyMetastorage.iterate(String keyPrefix,
BiConsumer<String,? super Serializable> cb,
boolean unmarshal)
Read all key/value pairs where key has provided prefix.
|
void |
MetaStorage.onCheckpointBegin(DbCheckpointListener.Context ctx) |
void |
MetaStorage.onMarkCheckpointBegin(DbCheckpointListener.Context ctx) |
default void |
MetastorageLifecycleListener.onReadyForRead(ReadOnlyMetastorage metastorage)
Is called when metastorage is made ready for read-only operations very early on node startup phase.
|
default void |
MetastorageLifecycleListener.onReadyForReadWrite(ReadWriteMetastorage metastorage)
Fully functional metastore capable of performing reading and writing operations.
|
Serializable |
MetaStorage.read(String key) |
Serializable |
ReadOnlyMetastorage.read(String key) |
byte[] |
MetaStorage.readRaw(String key) |
byte[] |
ReadOnlyMetastorage.readRaw(String key) |
byte[] |
MetastorageRowStore.readRow(long link) |
void |
ReadWriteMetastorage.remove(@NotNull String key) |
void |
MetaStorage.remove(@NotNull String key) |
void |
MetaStorage.removeData(String key) |
void |
MetastorageRowStore.removeRow(long link) |
void |
ReadWriteMetastorage.write(@NotNull String key,
@NotNull Serializable val) |
void |
MetaStorage.write(@NotNull String key,
@NotNull Serializable val) |
void |
ReadWriteMetastorage.writeRaw(String key,
byte[] data) |
void |
MetaStorage.writeRaw(String key,
byte[] data) |
| Constructor and Description |
|---|
MetastorageTree(int cacheId,
String name,
PageMemory pageMem,
IgniteWriteAheadLogManager wal,
AtomicLong globalRmvId,
ReuseList reuseList,
MetastorageRowStore rowStore,
long metaPageId,
boolean initNew,
@Nullable FailureProcessor failureProcessor,
int partId,
@Nullable PageLockListener lockLsnr) |
| Modifier and Type | Method and Description |
|---|---|
long |
PageMemoryImpl.acquirePage(int grpId,
long pageId)
Gets the page absolute pointer associated with the given page ID.
|
long |
PageMemoryEx.acquirePage(int grpId,
long pageId,
AtomicBoolean pageAllocated) |
long |
PageMemoryImpl.acquirePage(int grpId,
long pageId,
AtomicBoolean pageAllocated) |
long |
PageMemoryImpl.acquirePage(int grpId,
long pageId,
IoStatisticsHolder statHolder)
Gets the page absolute pointer associated with the given page ID.
|
long |
PageMemoryEx.acquirePage(int grpId,
long pageId,
IoStatisticsHolder statHldr,
boolean restore) |
long |
PageMemoryImpl.acquirePage(int grpId,
long pageId,
IoStatisticsHolder statHolder,
boolean restore) |
long |
PageMemoryImpl.allocatePage(int grpId,
int partId,
byte flags)
Allocates a page from the space for the given partition ID and the given flags.
|
void |
PageMemoryEx.checkpointWritePage(FullPageId pageId,
ByteBuffer buf,
PageStoreWriter pageWriter,
CheckpointMetricsTracker tracker)
Prepare page for write during checkpoint.
|
void |
PageMemoryImpl.checkpointWritePage(FullPageId fullId,
ByteBuffer buf,
PageStoreWriter pageStoreWriter,
CheckpointMetricsTracker metricsTracker)
Prepare page for write during checkpoint.
|
void |
DelayedDirtyPageStoreWrite.finishReplacement()
Runs actual write if required.
|
long |
PageMemoryEx.metaPageId(int grpId)
Gets or allocates metadata page for specified grpId.
|
long |
PageMemoryEx.partitionMetaPageId(int grpId,
int partId)
Gets or allocates partition metadata page for specified grpId and partId.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PartitionMetaStorage.insertDataRow(T row,
IoStatisticsHolder statHolder) |
byte[] |
PartitionMetaStorage.readRow(long link)
Read row data by link as byte array.
|
byte[] |
PartitionMetaStorageImpl.readRow(long link)
Read row as byte array from data pages.
|
void |
PartitionMetaStorage.removeDataRowByLink(long link,
IoStatisticsHolder statHolder) |
void |
PartitionMetaStorage.saveMetadata(IoStatisticsHolder statHolder)
Saves storage metadata.
|
| Constructor and Description |
|---|
PartitionMetaStorageImpl(int cacheId,
String name,
DataRegionMetricsImpl memMetrics,
DataRegion memPlc,
ReuseList reuseList,
IgniteWriteAheadLogManager wal,
long metaPageId,
boolean initNew,
PageLockListener lsnr,
GridKernalContext ctx,
AtomicLong pageListCacheLimit) |
| Modifier and Type | Class and Description |
|---|---|
class |
TrackingPageIsCorruptedException
Thrown when corrupted tracking page was queried.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IgniteCacheSnapshotManager.onActivate(GridKernalContext kctx)
Deprecated.
Called when cluster performing activation.
|
void |
IgniteCacheSnapshotManager.onChangeTrackerPage(Long page,
FullPageId fullId,
PageMemory pageMem)
Deprecated.
|
IgniteFuture<?> |
IgniteCacheSnapshotManager.onMarkCheckPointBegin(T snapshotOperation,
PartitionAllocationMap map)
Deprecated.
|
void |
IgniteSnapshotManager.onReadyForRead(ReadOnlyMetastorage metaStorage)
Is called when metastorage is made ready for read-only operations very early on node startup phase.
|
void |
IgniteSnapshotManager.onReadyForReadWrite(ReadWriteMetastorage metaStorage)
Fully functional metastore capable of performing reading and writing operations.
|
protected void |
IgniteSnapshotManager.start0() |
@Nullable IgniteInternalFuture |
IgniteCacheSnapshotManager.startLocalSnapshotOperation(UUID initiatorNodeId,
T snapshotOperation,
AffinityTopologyVersion topVer)
Deprecated.
|
@Nullable IgniteInternalFuture |
IgniteCacheSnapshotManager.tryStartLocalSnapshotOperation(@Nullable DiscoveryEvent discoveryEvt,
AffinityTopologyVersion topVer)
Deprecated.
Try to start local snapshot operation if it's required by discovery event.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CorruptedTreeException
Exception to distinguish
BPlusTree tree broken invariants. |
| Modifier and Type | Method and Description |
|---|---|
protected long |
BPlusTree.acquirePage(long pageId) |
boolean |
BPlusTree.TreeRowClosure.apply(BPlusTree<L,T> tree,
BPlusIO<L> io,
long pageAddr,
int idx)
Performs inspection or operation on a specified row and returns true if this row is
required or matches or /operation successful (depending on the context).
|
protected void |
BPlusTree.checkDestroyed()
Check if the tree is getting destroyed.
|
protected abstract int |
BPlusTree.compare(BPlusIO<L> io,
long pageAddr,
int idx,
L row) |
protected int |
BPlusTree.compare(int lvl,
BPlusIO<L> io,
long pageAddr,
int idx,
L row) |
long |
BPlusTree.destroy()
Destroys tree.
|
long |
BPlusTree.destroy(IgniteInClosure<L> c,
boolean forceDestroy)
Destroys tree.
|
protected long |
BPlusTree.destroyDownPages(LongListReuseBag bag,
long pageId,
int lvl,
IgniteInClosure<L> c,
AtomicLong lockHoldStartTime,
long lockMaxTime,
Deque<GridTuple3<Long,Long,Long>> lockedPages)
Recursively destroys tree pages.
|
GridCursor<T> |
BPlusTree.find(L lower,
L upper)
Returns a cursor from lower to upper bounds inclusive.
|
GridCursor<T> |
BPlusTree.find(L lower,
L upper,
BPlusTree.TreeRowClosure<L,T> c,
Object x) |
GridCursor<T> |
BPlusTree.find(L lower,
L upper,
Object x)
Returns a cursor from lower to upper bounds inclusive.
|
T |
BPlusTree.findFirst()
Returns a value mapped to the lowest key, or
null if tree is empty |
T |
BPlusTree.findFirst(BPlusTree.TreeRowClosure<L,T> filter)
Returns a value mapped to the lowest key, or
null if tree is empty or no entry matches the passed filter. |
T |
BPlusTree.findLast()
Returns a value mapped to the greatest key, or
null if tree is empty |
T |
BPlusTree.findLast(BPlusTree.TreeRowClosure<L,T> c)
Returns a value mapped to the greatest key, or
null if tree is empty or no entry matches the passed filter. |
T |
BPlusTree.findOne(L row) |
<R> R |
BPlusTree.findOne(L row,
BPlusTree.TreeRowClosure<L,T> c,
Object x) |
<R> R |
BPlusTree.findOne(L row,
Object x) |
BPlusTree.Result |
BPlusTree.Invoke.finishOrLockTail(long pageId,
long page,
long backId,
long fwdId,
int lvl) |
T |
BPlusTree.getRow(BPlusIO<L> io,
long pageAddr,
int idx)
Get a full detached data row.
|
abstract T |
BPlusTree.getRow(BPlusIO<L> io,
long pageAddr,
int idx,
Object x)
Get data row.
|
protected void |
BPlusTree.initTree(boolean initNew)
Initialize new tree.
|
protected void |
BPlusTree.initTree(boolean initNew,
int inlineSize)
Initialize new tree.
|
void |
BPlusTree.invoke(L row,
Object z,
IgniteTree.InvokeClosure<T> c) |
boolean |
BPlusTree.isEmpty() |
void |
BPlusTree.iterate(L lower,
L upper,
BPlusTree.TreeRowClosure<L,T> c) |
String |
BPlusTree.printTree()
For debug.
|
T |
BPlusTree.put(T row)
Put value in this tree.
|
boolean |
BPlusTree.putx(T row) |
protected <X,R> R |
BPlusTree.read(long pageId,
long page,
PageHandler<X,R> h,
X arg,
int intArg,
R lockFailed) |
protected <X,R> R |
BPlusTree.read(long pageId,
PageHandler<X,R> h,
X arg,
int intArg,
R lockFailed) |
T |
BPlusTree.remove(L row) |
boolean |
BPlusTree.removex(L row) |
int |
BPlusTree.rootLevel() |
BPlusTree.Result |
BPlusTree.Search.run0(long pageId,
long page,
long pageAddr,
BPlusIO<L> io,
BPlusTree.Get g,
int lvl) |
BPlusTree.Result |
BPlusTree.Replace.run0(long pageId,
long page,
long pageAddr,
BPlusIO<L> io,
BPlusTree.Put p,
int lvl) |
BPlusTree.Result |
BPlusTree.Insert.run0(long pageId,
long page,
long pageAddr,
BPlusIO<L> io,
BPlusTree.Put p,
int lvl) |
long |
BPlusTree.size()
Returns number of elements in the tree by scanning pages of the bottom (leaf) level.
|
long |
BPlusTree.size(@Nullable BPlusTree.TreeRowClosure<L,T> filter)
Returns number of elements in the tree that match the filter by scanning through the pages of the leaf level.
|
BPlusTree.Result |
BPlusTree.Put.tryReplace(long pageId,
long page,
long fwdId,
int lvl) |
void |
BPlusTree.validateTree() |
int |
BPlusTree.TreeVisitorClosure.visit(BPlusTree<L,T> tree,
BPlusIO<L> io,
long pageAddr,
int idx,
IgniteWriteAheadLogManager wal)
Performs inspection or operation on a specified row.
|
void |
BPlusTree.visit(L lower,
L upper,
BPlusTree.TreeVisitorClosure<L,T> c) |
| Constructor and Description |
|---|
BPlusTree(String name,
int cacheGrpId,
String grpName,
PageMemory pageMem,
IgniteWriteAheadLogManager wal,
AtomicLong globalRmvId,
long metaPageId,
ReuseList reuseList,
@Nullable FailureProcessor failureProcessor,
@Nullable PageLockListener lsnr) |
BPlusTree(String name,
int cacheGrpId,
String cacheGrpName,
PageMemory pageMem,
IgniteWriteAheadLogManager wal,
AtomicLong globalRmvId,
long metaPageId,
ReuseList reuseList,
IOVersions<? extends BPlusInnerIO<L>> innerIos,
IOVersions<? extends BPlusLeafIO<L>> leafIos,
@Nullable FailureProcessor failureProcessor,
@Nullable PageLockListener lockLsnr) |
| Modifier and Type | Method and Description |
|---|---|
int |
AbstractDataPageIO.addRow(long pageAddr,
byte[] payload,
int pageSize)
Adds row to this data page and sets respective link to the given row object.
|
void |
AbstractDataPageIO.addRow(long pageId,
long pageAddr,
T row,
int rowSize,
int pageSize)
Adds row to this data page and sets respective link to the given row object.
|
void |
AbstractDataPageIO.addRowFragment(long pageId,
long pageAddr,
byte[] payload,
long lastLink,
int pageSize)
Adds this payload as a fragment to this data page.
|
int |
AbstractDataPageIO.addRowFragment(PageMemory pageMem,
long pageId,
long pageAddr,
T row,
int written,
int rowSize,
int pageSize)
Adds maximum possible fragment of the given row to this data page and sets respective link to the row.
|
T |
AbstractDataPageIO.CC.apply(long link)
Closure body.
|
void |
BPlusInnerIO.copyItems(long srcPageAddr,
long dstPageAddr,
int srcIdx,
int dstIdx,
int cnt,
boolean cpLeft)
Copy items from source page to destination page.
|
abstract void |
BPlusIO.copyItems(long srcPageAddr,
long dstPageAddr,
int srcIdx,
int dstIdx,
int cnt,
boolean cpLeft)
Copy items from source page to destination page.
|
void |
BPlusLeafIO.copyItems(long srcPageAddr,
long dstPageAddr,
int srcIdx,
int dstIdx,
int cnt,
boolean cpLeft)
Copy items from source page to destination page.
|
<T> List<T> |
AbstractDataPageIO.forAllItems(long pageAddr,
AbstractDataPageIO.CC<T> c) |
static <Q extends BPlusIO<?>> |
PageIO.getBPlusIO(int type,
int ver) |
static <Q extends BPlusIO<?>> |
PageIO.getBPlusIO(long pageAddr) |
abstract L |
BPlusIO.getLookupRow(BPlusTree<L,?> tree,
long pageAddr,
int idx)
Get lookup row.
|
static <Q extends PageIO> |
PageIO.getPageIO(ByteBuffer page) |
static <Q extends PageIO> |
PageIO.getPageIO(int type,
int ver) |
static <Q extends PageIO> |
PageIO.getPageIO(long pageAddr) |
byte[] |
BPlusInnerIO.initNewRoot(long newRootPageAddr,
long newRootId,
long leftChildId,
L row,
byte[] rowBytes,
long rightChildId,
int pageSize,
boolean needRowBytes) |
byte[] |
BPlusInnerIO.insert(long pageAddr,
int idx,
L row,
byte[] rowBytes,
long rightId,
boolean needRowBytes) |
byte[] |
BPlusIO.insert(long pageAddr,
int idx,
L row,
byte[] rowBytes,
long rightId,
boolean needRowBytes) |
boolean |
BPlusIO.merge(BPlusIO<L> prntIo,
long prntPageAddr,
int prntIdx,
long leftPageAddr,
long rightPageAddr,
boolean emptyBranch,
int pageSize) |
protected void |
PagePartitionCountersIO.printPage(long addr,
int pageSize,
GridStringBuilder sb) |
protected void |
PageMetaIO.printPage(long addr,
int pageSize,
GridStringBuilder sb) |
protected void |
DataPageIO.printPage(long addr,
int pageSize,
GridStringBuilder sb) |
protected void |
TrackingPageIO.printPage(long addr,
int pageSize,
GridStringBuilder sb) |
protected void |
BPlusIO.printPage(long addr,
int pageSize,
GridStringBuilder sb) |
protected void |
SimpleDataPageIO.printPage(long addr,
int pageSize,
GridStringBuilder sb) |
protected void |
BPlusMetaIO.printPage(long addr,
int pageSize,
GridStringBuilder sb) |
protected void |
PagePartitionMetaIOV2.printPage(long pageAddr,
int pageSize,
GridStringBuilder sb) |
protected void |
PagePartitionMetaIO.printPage(long pageAddr,
int pageSize,
GridStringBuilder sb) |
protected abstract void |
PageIO.printPage(long addr,
int pageSize,
GridStringBuilder sb) |
static GridCacheVersion |
CacheVersionIO.read(ByteBuffer buf,
boolean allowNull)
Reads GridCacheVersion instance from the given buffer.
|
static GridCacheVersion |
CacheVersionIO.read(long pageAddr,
boolean allowNull)
Reads GridCacheVersion instance from the given address.
|
static int |
CacheVersionIO.readSize(ByteBuffer buf,
boolean allowNull)
Gets needed buffer size to read the whole version instance.
|
static int |
CacheVersionIO.readSize(long pageAddr,
boolean allowNull)
Gets needed buffer size to read the whole version instance.
|
void |
BPlusIO.remove(long pageAddr,
int idx,
int cnt) |
long |
AbstractDataPageIO.removeRow(long pageAddr,
int itemId,
int pageSize) |
void |
BPlusIO.splitForwardPage(long pageAddr,
long fwdId,
long fwdPageAddr,
int mid,
int cnt,
int pageSize) |
abstract void |
BPlusIO.store(long dstPageAddr,
int dstIdx,
BPlusIO<L> srcIo,
long srcPageAddr,
int srcIdx)
Store row info from the given source.
|
byte[] |
BPlusIO.store(long pageAddr,
int idx,
L row,
byte[] rowBytes,
boolean needRowBytes)
Store the needed info about the row in the page.
|
abstract void |
BPlusIO.storeByOffset(long pageAddr,
int off,
L row)
Store the needed info about the row in the page.
|
boolean |
AbstractDataPageIO.updateRow(long pageAddr,
int itemId,
int pageSize,
@Nullable byte[] payload,
T row,
int rowSize) |
protected void |
DataPageIO.writeFragmentData(CacheDataRow row,
ByteBuffer buf,
int rowOff,
int payloadSize)
Write row data fragment.
|
protected void |
SimpleDataPageIO.writeFragmentData(SimpleDataRow row,
ByteBuffer buf,
int rowOff,
int payloadSize)
Write row data fragment.
|
protected abstract void |
AbstractDataPageIO.writeFragmentData(T row,
ByteBuffer buf,
int rowOff,
int payloadSize)
Write row data fragment.
|
protected void |
DataPageIO.writeRowData(long pageAddr,
int dataOff,
int payloadSize,
CacheDataRow row,
boolean newRow) |
protected void |
SimpleDataPageIO.writeRowData(long pageAddr,
int dataOff,
int payloadSize,
SimpleDataRow row,
boolean newRow) |
protected abstract void |
AbstractDataPageIO.writeRowData(long pageAddr,
int dataOff,
int payloadSize,
T row,
boolean newRow) |
| Modifier and Type | Method and Description |
|---|---|
void |
ReuseList.addForRecycle(ReuseBag bag) |
void |
ReuseListImpl.addForRecycle(ReuseBag bag) |
long |
ReuseList.recycledPagesCount() |
long |
ReuseListImpl.recycledPagesCount() |
long |
ReuseList.takeRecycledPage() |
long |
ReuseListImpl.takeRecycledPage() |
| Constructor and Description |
|---|
ReuseListImpl(int cacheId,
String name,
PageMemory pageMem,
IgniteWriteAheadLogManager wal,
long metaPageId,
boolean initNew,
PageLockListener lockLsnr,
GridKernalContext ctx,
AtomicLong pageListCacheLimit) |
| Modifier and Type | Method and Description |
|---|---|
static void |
PageHandler.initPage(PageMemory pageMem,
int grpId,
long pageId,
PageIO init,
IgniteWriteAheadLogManager wal,
PageLockListener lsnr,
IoStatisticsHolder statHolder) |
static <X,R> R |
PageHandler.readPage(PageMemory pageMem,
int cacheId,
long pageId,
long page,
PageLockListener lsnr,
PageHandler<X,R> h,
X arg,
int intArg,
R lockFailed,
IoStatisticsHolder statHolder) |
static <X,R> R |
PageHandler.readPage(PageMemory pageMem,
int cacheId,
long pageId,
PageLockListener lsnr,
PageHandler<X,R> h,
X arg,
int intArg,
R lockFailed,
IoStatisticsHolder statHolder) |
abstract R |
PageHandler.run(int cacheId,
long pageId,
long page,
long pageAddr,
PageIO io,
Boolean walPlc,
X arg,
int intArg,
IoStatisticsHolder statHolder) |
static <X,R> R |
PageHandler.writePage(PageMemory pageMem,
int grpId,
long pageId,
long page,
PageLockListener lsnr,
PageHandler<X,R> h,
PageIO init,
IgniteWriteAheadLogManager wal,
Boolean walPlc,
X arg,
int intArg,
R lockFailed,
IoStatisticsHolder statHolder) |
static <X,R> R |
PageHandler.writePage(PageMemory pageMem,
int grpId,
long pageId,
PageLockListener lsnr,
PageHandler<X,R> h,
PageIO init,
IgniteWriteAheadLogManager wal,
Boolean walPlc,
X arg,
int intArg,
R lockFailed,
IoStatisticsHolder statHolder) |
| Modifier and Type | Class and Description |
|---|---|
class |
SegmentEofException
This exception is thrown either when we reach the end of file of WAL segment, or when we encounter
a record with type equal to
WALRecord.RecordType.STOP_ITERATION_RECORD_TYPE |
class |
WalSegmentTailReachedException
An exception is thrown when we reached tail of WAL segment cyclic buffer
during reading from WAL.
|
| Modifier and Type | Method and Description |
|---|---|
protected IgniteCheckedException |
AbstractWalRecordsIterator.handleRecordException(@NotNull Exception e,
@Nullable FileWALPointer ptr)
Handler for record deserialization exception.
|
protected IgniteCheckedException |
AbstractWalRecordsIterator.validateTailReachedException(WalSegmentTailReachedException tailReachedException,
AbstractWalRecordsIterator.AbstractReadFileHandle currWalSegment) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SingleSegmentLogicalRecordsIterator.advance()
Switches records iterator to the next record.
|
protected void |
AbstractWalRecordsIterator.advance()
Switches records iterator to the next record.
|
protected IgniteBiTuple<WALPointer,WALRecord> |
AbstractWalRecordsIterator.advanceRecord(@Nullable AbstractWalRecordsIterator.AbstractReadFileHandle hnd)
Switches to new record.
|
protected AbstractWalRecordsIterator.AbstractReadFileHandle |
SingleSegmentLogicalRecordsIterator.advanceSegment(@Nullable AbstractWalRecordsIterator.AbstractReadFileHandle curWalSegment)
Switches records iterator to the next WAL segment as result of this method, new reference to segment should be
returned.
|
protected abstract AbstractWalRecordsIterator.AbstractReadFileHandle |
AbstractWalRecordsIterator.advanceSegment(@Nullable AbstractWalRecordsIterator.AbstractReadFileHandle curWalSegment)
Switches records iterator to the next WAL segment as result of this method, new reference to segment should be
returned.
|
void |
FileWriteAheadLogManager.ReadFileHandle.close() |
void |
AbstractWalRecordsIterator.AbstractReadFileHandle.close() |
protected @Nullable AbstractWalRecordsIterator.AbstractReadFileHandle |
AbstractWalRecordsIterator.closeCurrentWalSegment()
Closes and returns WAL segment (if any)
|
WALPointer |
FileWriteAheadLogManager.flush(WALPointer ptr,
boolean explicitFsync)
Makes sure that all log entries written to the log up until the specified pointer are actually written
to the underlying storage.
|
Collection<File> |
FileWriteAheadLogManager.getAndReserveWalFiles(FileWALPointer low,
FileWALPointer high)
Collect wal segment files from low pointer (include) to high pointer (not include) and reserve low pointer.
|
protected AbstractWalRecordsIterator.AbstractReadFileHandle |
AbstractWalRecordsIterator.initReadHandle(@NotNull AbstractWalRecordsIterator.AbstractFileDescriptor desc,
@Nullable FileWALPointer start)
Assumes file descriptor will be opened in this method.
|
protected AbstractWalRecordsIterator.AbstractReadFileHandle |
AbstractWalRecordsIterator.initReadHandle(@NotNull AbstractWalRecordsIterator.AbstractFileDescriptor desc,
@Nullable FileWALPointer start,
@NotNull SegmentIO fileIO,
@NotNull SegmentHeader segmentHeader)
Assumes fileIO will be closed in this method in case of error occurred.
|
static FileDescriptor[] |
FileWriteAheadLogManager.loadFileDescriptors(@NotNull File walFilesDir)
Scans provided folder for a WAL segment files
|
WALPointer |
FileWriteAheadLogManager.log(WALRecord rec)
Appends the given log entry to the write-ahead log.
|
WALPointer |
FileWriteAheadLogManager.log(WALRecord rec,
RolloverType rolloverType)
Appends the given log entry to the write-ahead log.
|
void |
FileWriteAheadLogManager.onActivate(GridKernalContext kctx)
Called when cluster performing activation.
|
protected void |
AbstractWalRecordsIterator.onClose()
Invoked on iterator close.
|
protected boolean |
AbstractWalRecordsIterator.onHasNext() |
protected IgniteBiTuple<WALPointer,WALRecord> |
AbstractWalRecordsIterator.onNext() |
WALRecord |
FileWriteAheadLogManager.read(WALPointer ptr)
Reads WAL record by the specified pointer.
|
WALIterator |
FileWriteAheadLogManager.replay(WALPointer start)
Invoke this method to iterate over the written log entries.
|
WALIterator |
FileWriteAheadLogManager.replay(WALPointer start,
@Nullable IgniteBiPredicate<WALRecord.RecordType,WALPointer> recordDeserializeFilter)
Invoke this method to iterate over the written log entries.
|
void |
FileWriteAheadLogManager.resumeLogging(WALPointer lastPtr)
Resumes logging after start.
|
void |
FileWriteAheadLogManager.start0() |
| Modifier and Type | Method and Description |
|---|---|
@Nullable WALPointer |
FileWriteHandle.addRecord(WALRecord rec) |
boolean |
FileWriteHandle.close(boolean rollOver)
Close segment.
|
WALPointer |
FileHandleManagerImpl.flush(WALPointer ptr,
boolean explicitFsync) |
WALPointer |
FileHandleManager.flush(WALPointer ptr,
boolean explicitFsync) |
WALPointer |
FsyncFileHandleManagerImpl.flush(WALPointer ptr,
boolean explicitFsync) |
void |
FileWriteHandle.flushAll()
Flush all records.
|
void |
FileWriteHandle.fsync(FileWALPointer ptr)
Do fsync.
|
void |
FileHandleManagerImpl.onDeactivate()
On deactivate.
|
void |
FileHandleManager.onDeactivate()
On deactivate.
|
void |
FsyncFileHandleManagerImpl.onDeactivate()
On deactivate.
|
void |
FileWriteHandle.writeHeader()
Write header to segment.
|
| Modifier and Type | Class and Description |
|---|---|
class |
StrictBoundsCheckException
This exception is used in checking boundaries (StandaloneWalRecordsIterator).
|
| Modifier and Type | Method and Description |
|---|---|
void |
FilteredWalIterator.close()
Closes the iterator and frees all the resources held by the iterator.
|
boolean |
FilteredWalIterator.hasNextX()
This method is the same as
Iterator.hasNext(), but allows for failure
with exception. |
WALIterator |
IgniteWalIteratorFactory.iterator(File... filesOrDirs)
Creates iterator for file by file scan mode.
|
WALIterator |
IgniteWalIteratorFactory.iterator(@NotNull FileWALPointer replayFrom,
File... filesOrDirs)
Creates iterator for file by file scan mode.
|
WALIterator |
IgniteWalIteratorFactory.iterator(@NotNull FileWALPointer replayFrom,
String... filesOrDirs)
Creates iterator for file by file scan mode.
|
WALIterator |
IgniteWalIteratorFactory.iterator(@NotNull IgniteWalIteratorFactory.IteratorParametersBuilder iteratorParametersBuilder) |
WALIterator |
IgniteWalIteratorFactory.iterator(String... filesOrDirs)
Creates iterator for file by file scan mode.
|
IgniteBiTuple<WALPointer,WALRecord> |
FilteredWalIterator.nextX()
This method is the same as
Iterator.next(), but allows for failure
with exception. |
void |
FilteredWalIterator.removeX()
This method is the same as
Iterator.remove(), but allows for failure
with exception. |
| Constructor and Description |
|---|
FilteredWalIterator(WALIterator walIterator,
Predicate<IgniteBiTuple<WALPointer,WALRecord>> filter) |
StandaloneGridKernalContext(IgniteLogger log,
@Nullable File binaryMetadataFileStoreDir,
@Nullable File marshallerMappingFileStoreDir) |
| Modifier and Type | Method and Description |
|---|---|
void |
WalScanner.ScanTerminateStep.forEach(@NotNull ScannerHandler handler)
Execute given handler on each record.
|
| Modifier and Type | Method and Description |
|---|---|
RecordSerializer |
RecordSerializerFactoryImpl.createSerializer(int ver)
Factory method for creation
RecordSerializer. |
RecordSerializer |
RecordSerializerFactory.createSerializer(int ver)
Factory method for creation
RecordSerializer. |
protected int |
RecordDataV1Serializer.dataSize(DataRecord dataRec) |
protected int |
RecordDataV2Serializer.entrySize(DataEntry entry) |
protected int |
RecordDataV1Serializer.entrySize(DataEntry entry) |
protected int |
RecordDataV2Serializer.plainSize(WALRecord rec) |
WALRecord |
RecordSerializer.readRecord(FileInput in,
WALPointer expPtr)
Loads record from input
|
WALRecord |
RecordV2Serializer.readRecord(FileInput in,
WALPointer expPtr)
Loads record from input
|
WALRecord |
RecordV1Serializer.readRecord(FileInput in0,
WALPointer expPtr)
Loads record from input
|
WALRecord |
RecordDataSerializer.readRecord(WALRecord.RecordType type,
ByteBufferBackedDataInput in,
int size)
Reads record data of
type from buffer in. |
WALRecord |
RecordDataV1Serializer.readRecord(WALRecord.RecordType type,
ByteBufferBackedDataInput in,
int size)
Reads record data of
type from buffer in. |
static SegmentHeader |
RecordV1Serializer.readSegmentHeader(SegmentIO io,
SegmentFileInputFactory segmentFileInputFactory)
Reads stored record from provided
io. |
int |
TxRecordSerializer.size(MvccTxRecord rec)
Returns size of marshalled
TxRecord in bytes. |
int |
RecordSerializer.size(WALRecord record)
Calculates record size in byte including expected wal pointer, CRC and type field
|
int |
RecordDataSerializer.size(WALRecord record)
Calculates size of record data.
|
int |
RecordDataV1Serializer.size(WALRecord record)
Calculates size of record data.
|
int |
RecordV2Serializer.size(WALRecord record)
Calculates record size in byte including expected wal pointer, CRC and type field
|
int |
RecordV1Serializer.size(WALRecord record)
Calculates record size in byte including expected wal pointer, CRC and type field
|
void |
TxRecordSerializer.write(MvccTxRecord rec,
ByteBuffer buf)
Writes
MvccTxRecord to given buffer. |
protected void |
RecordDataV2Serializer.writePlainRecord(WALRecord rec,
ByteBuffer buf)
Write
rec to buf without encryption. |
void |
RecordSerializer.writeRecord(WALRecord record,
ByteBuffer buf) |
void |
RecordDataSerializer.writeRecord(WALRecord record,
ByteBuffer buf)
Writes record data to buffer
buf. |
void |
RecordDataV1Serializer.writeRecord(WALRecord rec,
ByteBuffer buf)
Writes record data to buffer
buf. |
void |
RecordV2Serializer.writeRecord(WALRecord record,
ByteBuffer buf) |
void |
RecordV1Serializer.writeRecord(WALRecord rec,
ByteBuffer buf) |
| Modifier and Type | Method and Description |
|---|---|
WALRecord |
RecordIO.readWithHeaders(ByteBufferBackedDataInput in,
WALPointer expPtr)
Reads record data with headers from
in. |
int |
RecordIO.sizeWithHeaders(WALRecord record)
Calculates and returns size of record data and headers.
|
void |
RecordIO.writeWithHeaders(WALRecord record,
ByteBuffer buf)
Writes record data with headers to
buf. |
| Modifier and Type | Method and Description |
|---|---|
void |
GridCacheDistributedQueryFuture.awaitFirstPage()
Waits for the first page to be received from remote node(s), if any.
|
abstract void |
GridCacheQueryFutureAdapter.awaitFirstPage()
Waits for the first page to be received from remote node(s), if any.
|
void |
GridCacheLocalQueryFuture.awaitFirstPage()
Waits for the first page to be received from remote node(s), if any.
|
boolean |
GridCacheQueryFutureAdapter.cancel()
Default no-op implementation that always returns
false. |
boolean |
CacheQueryFuture.cancel()
Cancels this query future and stop receiving any further results for the query
associated with this future.
|
protected void |
GridCacheDistributedQueryFuture.cancelQuery() |
protected abstract void |
GridCacheQueryFutureAdapter.cancelQuery() |
protected void |
GridCacheLocalQueryFuture.cancelQuery() |
void |
QueryCursorEx.Consumer.consume(T val)
Consume value.
|
GridCloseableIterator |
CacheQuery.executeScanQuery() |
GridCloseableIterator |
GridCacheQueryAdapter.executeScanQuery() |
void |
GridCacheQueryRequest.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
GridCacheQueryResponse.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
Collection<R> |
GridCacheQueryFutureAdapter.get()
Synchronously waits for completion of the computation and
returns computation result.
|
Collection<R> |
GridCacheQueryFutureAdapter.get(long timeout,
TimeUnit unit)
Synchronously waits for completion of the computation for
up to the timeout specified and returns computation result.
|
void |
QueryCursorEx.getAll(QueryCursorEx.Consumer<T> c)
Get all values passing them through passed consumer.
|
Collection<R> |
GridCacheQueryFutureAdapter.getUninterruptibly()
Synchronously waits for completion of the computation and returns computation result ignoring interrupts.
|
T |
GridCacheQueryErrorFuture.next()
Returns next element from result set.
|
T |
CacheQueryFuture.next()
Returns next element from result set.
|
void |
GridCacheQueryRequest.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridCacheQueryResponse.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridCacheQueryManager.remove(KeyCacheObject key,
@Nullable CacheDataRow prevRow) |
abstract GridCloseableIterator |
GridCacheQueryManager.scanQueryDistributed(GridCacheQueryAdapter qry,
Collection<ClusterNode> nodes)
Executes distributed SCAN query.
|
GridCloseableIterator |
GridCacheDistributedQueryManager.scanQueryDistributed(GridCacheQueryAdapter qry,
Collection<ClusterNode> nodes)
Executes distributed SCAN query.
|
GridCloseableIterator |
GridCacheLocalQueryManager.scanQueryDistributed(GridCacheQueryAdapter qry,
Collection<ClusterNode> nodes)
Executes distributed SCAN query.
|
protected GridCloseableIterator |
GridCacheQueryManager.scanQueryLocal(GridCacheQueryAdapter qry,
boolean updateStatistics)
Process local scan query.
|
Collection<GridCacheSqlMetadata> |
GridCacheQueryManager.sqlMetadata()
Gets SQL metadata.
|
Collection<GridCacheSqlMetadata> |
GridCacheQueryManager.sqlMetadataV2()
Gets SQL metadata with not nulls fields.
|
void |
GridCacheQueryManager.start0() |
void |
GridCacheDistributedQueryManager.start0() |
void |
GridCacheLocalQueryManager.start0() |
void |
GridCacheQueryManager.store(CacheDataRow newRow,
@Nullable CacheDataRow prevRow,
boolean prevRowAvailable) |
protected <T> @Nullable List<T> |
GridCacheQueryResponse.unmarshalCollection0(@Nullable Collection<byte[]> byteCol,
GridCacheSharedContext ctx,
ClassLoader ldr) |
void |
GridCacheQueryAdapter.validate() |
| Modifier and Type | Method and Description |
|---|---|
void |
CacheContinuousQueryManager.cancelJCacheQuery(javax.cache.configuration.CacheEntryListenerConfiguration cfg) |
UUID |
CacheContinuousQueryManager.executeInternalQuery(javax.cache.event.CacheEntryUpdatedListener<?,?> locLsnr,
CacheEntryEventSerializableFilter rmtFilter,
boolean loc,
boolean notifyExisting,
boolean ignoreClassNotFound,
boolean sync) |
void |
CacheContinuousQueryManager.executeJCacheQuery(javax.cache.configuration.CacheEntryListenerConfiguration cfg,
boolean onStart,
boolean keepBinary) |
UUID |
CacheContinuousQueryManager.executeQuery(@Nullable javax.cache.event.CacheEntryUpdatedListener locLsnr,
@Nullable ContinuousQueryWithTransformer.EventListener locTransLsnr,
@Nullable CacheEntryEventSerializableFilter<K,V> rmtFilter,
@Nullable javax.cache.configuration.Factory<javax.cache.event.CacheEntryEventFilter<K,V>> rmtFilterFactory,
@Nullable javax.cache.configuration.Factory<IgniteClosure<K,V>> rmtTransFactory,
int bufSize,
long timeInterval,
boolean autoUnsubscribe,
boolean loc,
boolean keepBinary,
boolean includeExpired) |
Iterable<javax.cache.event.CacheEntryEvent<?,?>> |
CacheContinuousQueryManager.existingEntries(boolean keepBinary,
javax.cache.event.CacheEntryEventFilter filter) |
javax.cache.event.CacheEntryEventFilter |
CacheContinuousQueryHandler.getEventFilter() |
protected void |
CacheContinuousQueryHandler.initRemoteFilter(javax.cache.event.CacheEntryEventFilter filter,
GridKernalContext ctx)
Performs resource injection and checks asynchrony for the provided remote filter.
|
void |
CacheContinuousQueryManager.onEntryExpired(GridCacheEntryEx e,
KeyCacheObject key,
CacheObject oldVal) |
void |
CacheContinuousQueryManager.onEntryUpdated(KeyCacheObject key,
CacheObject newVal,
CacheObject oldVal,
boolean internal,
int partId,
boolean primary,
boolean preload,
long updateCntr,
@Nullable GridDhtAtomicAbstractUpdateFuture fut,
AffinityTopologyVersion topVer) |
void |
CacheContinuousQueryManager.onEntryUpdated(Map<UUID,CacheContinuousQueryListener> lsnrCol,
KeyCacheObject key,
CacheObject newVal,
CacheObject oldVal,
boolean internal,
int partId,
boolean primary,
boolean preload,
long updateCntr,
@Nullable GridDhtAtomicAbstractUpdateFuture fut,
AffinityTopologyVersion topVer) |
protected void |
CacheContinuousQueryManager.onKernalStart0() |
void |
CacheContinuousQueryHandlerV2.p2pMarshal(GridKernalContext ctx)
Deploys and marshals inner objects (called only if peer deployment is enabled).
|
void |
CacheContinuousQueryHandler.p2pMarshal(GridKernalContext ctx)
Deploys and marshals inner objects (called only if peer deployment is enabled).
|
void |
CacheContinuousQueryHandlerV3.p2pMarshal(GridKernalContext ctx)
Deploys and marshals inner objects (called only if peer deployment is enabled).
|
protected <T> T |
CacheContinuousQueryHandler.p2pUnmarshal(org.apache.ignite.internal.processors.cache.query.continuous.CacheContinuousQueryDeployableObject depObj,
UUID nodeId,
GridKernalContext ctx) |
void |
CacheContinuousQueryHandlerV2.p2pUnmarshal(UUID nodeId,
GridKernalContext ctx)
Unmarshals inner objects (called only if peer deployment is enabled).
|
void |
CacheContinuousQueryHandler.p2pUnmarshal(UUID nodeId,
GridKernalContext ctx)
Unmarshals inner objects (called only if peer deployment is enabled).
|
void |
CacheContinuousQueryHandlerV3.p2pUnmarshal(UUID nodeId,
GridKernalContext ctx)
Unmarshals inner objects (called only if peer deployment is enabled).
|
GridContinuousHandler.RegisterStatus |
CacheContinuousQueryHandler.register(UUID nodeId,
UUID routineId,
GridKernalContext ctx)
Registers listener.
|
GridContinuousHandler.RegisterStatus |
CacheContinuousQueryHandlerV3.register(UUID nodeId,
UUID routineId,
GridKernalContext ctx)
Registers listener.
|
protected void |
CacheContinuousQueryManager.start0() |
| Modifier and Type | Method and Description |
|---|---|
void |
GridCacheWriteBehindStore.forceFlush()
Forces all entries collected to be flushed to the underlying store.
|
void |
CacheStoreManager.forceFlush() |
void |
GridCacheStoreManagerAdapter.forceFlush() |
void |
CacheStoreManager.initialize(@Nullable CacheStore<?,?> cfgStore,
Map<CacheStore,ThreadLocal> sesHolders)
Initialize store manager.
|
void |
GridCacheStoreManagerAdapter.initialize(@Nullable CacheStore cfgStore,
Map sesHolders)
Initialize store manager.
|
@Nullable Object |
CacheStoreManager.load(@Nullable IgniteInternalTx tx,
KeyCacheObject key)
Loads data from persistent store.
|
@Nullable Object |
GridCacheStoreManagerAdapter.load(@Nullable IgniteInternalTx tx,
KeyCacheObject key)
Loads data from persistent store.
|
boolean |
CacheStoreManager.loadAll(@Nullable IgniteInternalTx tx,
Collection<? extends KeyCacheObject> keys,
IgniteBiInClosure<KeyCacheObject,Object> vis)
Loads data from persistent store.
|
boolean |
GridCacheStoreManagerAdapter.loadAll(@Nullable IgniteInternalTx tx,
Collection keys,
IgniteBiInClosure vis)
Loads data from persistent store.
|
boolean |
CacheStoreManager.loadCache(GridInClosure3<KeyCacheObject,Object,GridCacheVersion> vis,
Object[] args)
Loads data from persistent store.
|
boolean |
GridCacheStoreManagerAdapter.loadCache(GridInClosure3 vis,
Object[] args)
Loads data from persistent store.
|
void |
CacheStoreManager.localStoreLoadAll(@Nullable IgniteInternalTx tx,
Collection<? extends KeyCacheObject> keys,
GridInClosure3<KeyCacheObject,Object,GridCacheVersion> vis) |
void |
GridCacheStoreManagerAdapter.localStoreLoadAll(@Nullable IgniteInternalTx tx,
Collection keys,
GridInClosure3 vis) |
boolean |
CacheStoreManager.put(@Nullable IgniteInternalTx tx,
KeyCacheObject key,
CacheObject val,
GridCacheVersion ver)
Puts key-value pair into storage.
|
boolean |
GridCacheStoreManagerAdapter.put(@Nullable IgniteInternalTx tx,
KeyCacheObject key,
CacheObject val,
GridCacheVersion ver)
Puts key-value pair into storage.
|
boolean |
CacheStoreManager.putAll(@Nullable IgniteInternalTx tx,
Map<? extends KeyCacheObject,IgniteBiTuple<? extends CacheObject,GridCacheVersion>> map)
Puts key-value pair into storage.
|
boolean |
GridCacheStoreManagerAdapter.putAll(@Nullable IgniteInternalTx tx,
Map<? extends KeyCacheObject,IgniteBiTuple<? extends CacheObject,GridCacheVersion>> map)
Puts key-value pair into storage.
|
boolean |
CacheStoreManager.remove(@Nullable IgniteInternalTx tx,
KeyCacheObject key) |
boolean |
GridCacheStoreManagerAdapter.remove(@Nullable IgniteInternalTx tx,
KeyCacheObject key) |
boolean |
CacheStoreManager.removeAll(@Nullable IgniteInternalTx tx,
Collection<? extends KeyCacheObject> keys) |
boolean |
GridCacheStoreManagerAdapter.removeAll(@Nullable IgniteInternalTx tx,
Collection<? extends KeyCacheObject> keys) |
void |
CacheStoreManager.sessionEnd(IgniteInternalTx tx,
boolean commit,
boolean last,
boolean storeSessionEnded) |
void |
GridCacheStoreManagerAdapter.sessionEnd(IgniteInternalTx tx,
boolean commit,
boolean last,
boolean storeSessionEnded) |
protected void |
GridCacheStoreManagerAdapter.start0() |
protected void |
CacheOsStoreManager.start0() |
void |
CacheStoreManager.writeBehindCacheStoreSessionListenerStart()
Notifies cache store session listeners.
|
void |
GridCacheStoreManagerAdapter.writeBehindCacheStoreSessionListenerStart()
Notifies cache store session listeners.
|
void |
CacheStoreManager.writeBehindSessionEnd(boolean threwEx)
End session initiated by write-behind store.
|
void |
GridCacheStoreManagerAdapter.writeBehindSessionEnd(boolean threwEx)
End session initiated by write-behind store.
|
void |
CacheStoreManager.writeBehindSessionInit()
Start session initiated by write-behind store.
|
void |
GridCacheStoreManagerAdapter.writeBehindSessionInit()
Start session initiated by write-behind store.
|
| Modifier and Type | Method and Description |
|---|---|
IgniteCheckedException |
IgniteTxAdapter.heuristicException(Throwable ex) |
IgniteCheckedException |
IgniteTxAdapter.rollbackException() |
IgniteCheckedException |
IgniteTxAdapter.timeoutException() |
IgniteCheckedException |
IgniteTxStateImpl.validateTopology(GridCacheSharedContext cctx,
boolean read,
GridDhtTopologyFuture topFut) |
IgniteCheckedException |
IgniteTxImplicitSingleStateImpl.validateTopology(GridCacheSharedContext cctx,
boolean read,
GridDhtTopologyFuture topFut) |
IgniteCheckedException |
IgniteTxState.validateTopology(GridCacheSharedContext cctx,
boolean read,
GridDhtTopologyFuture topFut) |
IgniteCheckedException |
IgniteTxRemoteStateAdapter.validateTopology(GridCacheSharedContext cctx,
boolean read,
GridDhtTopologyFuture topFut) |
| Modifier and Type | Method and Description |
|---|---|
void |
IgniteTxLocalAdapter.addActiveCache(GridCacheContext cacheCtx,
boolean recovery)
Adds cache to the list of active caches in transaction.
|
abstract void |
IgniteTxAdapter.addActiveCache(GridCacheContext cacheCtx,
boolean recovery)
Adds cache to the list of active caches in transaction.
|
void |
IgniteTxStateImpl.addActiveCache(GridCacheContext cacheCtx,
boolean recovery,
IgniteTxAdapter tx) |
void |
IgniteTxImplicitSingleStateImpl.addActiveCache(GridCacheContext ctx,
boolean recovery,
IgniteTxAdapter tx) |
void |
IgniteTxState.addActiveCache(GridCacheContext cacheCtx,
boolean recovery,
IgniteTxAdapter tx) |
void |
IgniteTxRemoteStateAdapter.addActiveCache(GridCacheContext cctx,
boolean recovery,
IgniteTxAdapter tx) |
void |
IgniteTxHandler.applyPartitionsUpdatesCounters(Iterable<PartitionUpdateCountersMessage> counters)
Applies partition counter updates for transactions.
|
void |
IgniteTxHandler.applyPartitionsUpdatesCounters(Iterable<PartitionUpdateCountersMessage> counters,
boolean rollback,
boolean rollbackOnPrimary)
Applies partition counter updates for transactions.
|
protected IgniteBiTuple<GridCacheOperation,CacheObject> |
IgniteTxAdapter.applyTransformClosures(IgniteTxEntry txEntry,
boolean metrics,
@Nullable GridCacheReturn ret) |
protected void |
IgniteTxAdapter.batchStoreCommit(Iterable<IgniteTxEntry> writeEntries)
Performs batch database operations.
|
protected void |
IgniteTxLocalAdapter.checkValid()
Checks transaction expiration.
|
protected void |
IgniteTxLocalAdapter.checkValid(boolean checkTimeout)
Checks transaction expiration.
|
void |
IgniteTxRemoteEx.commitRemoteTx() |
void |
IgniteTxManager.commitTx(IgniteInternalTx tx)
Commits a transaction.
|
protected IgniteBiTuple<GridCacheOperation,GridCacheVersionConflictContext> |
IgniteTxAdapter.conflictResolve(GridCacheOperation op,
IgniteTxEntry txEntry,
CacheObject newVal,
GridCacheVersion newVer,
GridCacheEntryEx old)
Resolve DR conflict.
|
void |
IgniteTxKey.finishUnmarshal(GridCacheContext ctx,
ClassLoader ldr) |
void |
TxLocksResponse.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
void |
TxLocksRequest.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
This method is called after the message is deserialized and is responsible for
unmarshalling state marshalled in
GridCacheMessage.prepareMarshal(GridCacheSharedContext) method. |
boolean |
IgniteTxLocalEx.localFinish(boolean commit,
boolean clearThreadMap)
Finishes transaction (either commit or rollback).
|
void |
TxEntryValueHolder.marshal(GridCacheContext<?,?> ctx) |
void |
IgniteTxEntry.marshal(GridCacheSharedContext<?,?> ctx,
boolean transferExpiry) |
void |
IgniteTxHandler.mvccEnlistBatch(GridDhtTxRemote tx,
GridCacheContext ctx,
EnlistOperation op,
List<KeyCacheObject> keys,
List<Message> vals,
MvccSnapshot snapshot,
IgniteUuid futId,
int batchNum)
Writes updated values on the backup node.
|
protected abstract IgniteInternalFuture<T> |
IgniteTxLocalAdapter.PostLockClosure2.postLock()
Post lock callback.
|
protected abstract T |
IgniteTxLocalAdapter.PostLockClosure1.postLock(T val)
Post lock callback.
|
protected void |
IgniteTxLocalAdapter.postLockWrite(GridCacheContext cacheCtx,
Iterable<KeyCacheObject> keys,
GridCacheReturn ret,
boolean rmv,
boolean retval,
boolean read,
long accessTtl,
CacheEntryPredicate[] filter,
boolean computeInvoke)
Post lock processing for put or remove.
|
protected abstract IgniteInternalFuture<T> |
IgniteTxLocalAdapter.PostMissClosure.postMiss(T t)
Post lock callback.
|
void |
IgniteTxKey.prepareMarshal(GridCacheContext ctx) |
void |
TxLocksResponse.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
TxLocksRequest.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
IgniteTxManager.prepareTx(IgniteInternalTx tx,
@Nullable Collection<IgniteTxEntry> entries)
Handles prepare stage.
|
void |
IgniteTxManager.resumeTx(GridNearTxLocal tx,
long threadId)
Resume transaction in current thread.
|
protected void |
IgniteTxAdapter.sessionEnd(Collection<CacheStoreManager> stores,
boolean commit) |
void |
IgniteTxManager.setTxTimeoutOnPartitionMapExchange(long timeout)
Sets transaction timeout on partition map exchange.
|
protected void |
IgniteTxManager.start0() |
void |
IgniteTxManager.suspendTx(GridNearTxLocal tx)
Suspends transaction.
|
void |
IgniteTxLocalAdapter.tmFinish(boolean commit,
boolean nodeStop,
boolean clearThreadMap)
Commits transaction to transaction manager.
|
void |
TxEntryValueHolder.unmarshal(GridCacheContext<?,?> ctx,
ClassLoader ldr) |
void |
IgniteTxEntry.unmarshal(GridCacheSharedContext<?,?> ctx,
boolean near,
ClassLoader clsLdr)
Unmarshalls entry.
|
void |
IgniteTxLocalEx.userCommit() |
void |
IgniteTxLocalAdapter.userCommit() |
void |
IgniteTxLocalAdapter.userPrepare(@Nullable Collection<IgniteTxEntry> entries) |
void |
IgniteTxLocalEx.userRollback(boolean clearThreadMap) |
void |
IgniteTxLocalAdapter.userRollback(boolean clearThreadMap) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
CacheDataTree.compare(BPlusIO<CacheSearchRow> iox,
long pageAddr,
int idx,
CacheSearchRow row) |
GridCursor<CacheDataRow> |
CacheDataTree.find(CacheSearchRow lower,
CacheSearchRow upper,
BPlusTree.TreeRowClosure<CacheSearchRow,CacheDataRow> c,
Object x) |
CacheSearchRow |
AbstractDataInnerIO.getLookupRow(BPlusTree<CacheSearchRow,?> tree,
long pageAddr,
int idx)
Get lookup row.
|
CacheSearchRow |
AbstractDataLeafIO.getLookupRow(BPlusTree<CacheSearchRow,?> tree,
long pageAddr,
int idx)
Get lookup row.
|
PendingRow |
AbstractPendingEntryLeafIO.getLookupRow(BPlusTree<PendingRow,?> tree,
long pageAddr,
int idx)
Get lookup row.
|
PendingRow |
AbstractPendingEntryInnerIO.getLookupRow(BPlusTree<PendingRow,?> tree,
long pageAddr,
int idx)
Get lookup row.
|
PendingRow |
PendingEntriesTree.getRow(BPlusIO<PendingRow> io,
long pageAddr,
int idx,
Object flag)
Get data row.
|
void |
AbstractPendingEntryLeafIO.store(long dstPageAddr,
int dstIdx,
BPlusIO<PendingRow> srcIo,
long srcPageAddr,
int srcIdx)
Store row info from the given source.
|
void |
AbstractPendingEntryInnerIO.store(long dstPageAddr,
int dstIdx,
BPlusIO<PendingRow> srcIo,
long srcPageAddr,
int srcIdx)
Store row info from the given source.
|
void |
AbstractPendingEntryLeafIO.storeByOffset(long pageAddr,
int off,
PendingRow row)
Store the needed info about the row in the page.
|
void |
AbstractPendingEntryInnerIO.storeByOffset(long pageAddr,
int off,
PendingRow row)
Store the needed info about the row in the page.
|
| Constructor and Description |
|---|
CacheDataTree(CacheGroupContext grp,
String name,
ReuseList reuseList,
CacheDataRowStore rowStore,
long metaPageId,
boolean initNew,
PageLockListener lockLsnr) |
PendingEntriesTree(CacheGroupContext grp,
String name,
PageMemory pageMem,
long metaPageId,
ReuseList reuseList,
boolean initNew,
PageLockListener lockLsnr) |
| Modifier and Type | Method and Description |
|---|---|
int |
MvccDataRow.size() |
int |
MvccUpdateDataRow.visit(BPlusTree<CacheSearchRow,CacheDataRow> tree,
BPlusIO<CacheSearchRow> io,
long pageAddr,
int idx,
IgniteWriteAheadLogManager wal)
Performs inspection or operation on a specified row.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
MvccFirstRowTreeClosure.apply(BPlusTree<CacheSearchRow,CacheDataRow> tree,
BPlusIO<CacheSearchRow> io,
long pageAddr,
int idx)
Performs inspection or operation on a specified row and returns true if this row is
required or matches or /operation successful (depending on the context).
|
boolean |
MvccSnapshotSearchRow.apply(BPlusTree<CacheSearchRow,CacheDataRow> tree,
BPlusIO<CacheSearchRow> io,
long pageAddr,
int idx)
Performs inspection or operation on a specified row and returns true if this row is
required or matches or /operation successful (depending on the context).
|
boolean |
MvccDataPageClosure.applyMvcc(DataPageIO io,
long dataPageAddr,
int itemId,
int pageSize) |
| Modifier and Type | Method and Description |
|---|---|
static void |
IdleVerifyUtility.checkPartitionsPageCrcSum(FilePageStore pageStore,
CacheGroupContext grpCtx,
int partId,
byte pageType)
Checks CRC sum of pages with
pageType page type stored in partiion with partId id and assosiated
with cache group. |
static void |
IdleVerifyUtility.checkPartitionsPageCrcSum(@Nullable FilePageStoreManager pageStoreMgr,
CacheGroupContext grpCtx,
int partId,
byte pageType)
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridCacheRawVersionedEntry.marshal(CacheObjectContext ctx,
Marshaller marsh)
Perform internal marshal of this entry before it will be serialized.
|
void |
GridCacheRawVersionedEntry.prepareDirectMarshal(CacheObjectContext ctx) |
<K,V> GridCacheVersionConflictContext<K,V> |
CacheVersionConflictResolver.resolve(CacheObjectValueContext ctx,
GridCacheVersionedEntryEx<K,V> oldEntry,
GridCacheVersionedEntryEx<K,V> newEntry,
boolean atomicVerComparator)
Resolve the conflict.
|
void |
GridCacheVersionManager.start0() |
void |
GridCacheRawVersionedEntry.unmarshal(CacheObjectContext ctx) |
void |
GridCacheRawVersionedEntry.unmarshal(CacheObjectContext ctx,
Marshaller marsh)
Perform internal unmarshal of this entry.
|
void |
GridCacheRawVersionedEntry.unmarshalKey(CacheObjectContext ctx,
Marshaller marsh)
Perform internal key unmarshal of this entry.
|
| Modifier and Type | Method and Description |
|---|---|
CacheObjectContext |
IgniteCacheObjectProcessor.contextForCache(CacheConfiguration ccfg) |
byte[] |
IgniteCacheObjectProcessor.marshal(CacheObjectValueContext ctx,
Object val) |
void |
IgniteCacheObjectProcessor.onContinuousProcessorStarted(GridKernalContext ctx) |
IncompleteCacheObject |
IgniteCacheObjectProcessor.toCacheObject(CacheObjectContext ctx,
ByteBuffer buf,
@Nullable IncompleteCacheObject incompleteObj) |
IncompleteCacheObject |
IgniteCacheObjectProcessor.toKeyCacheObject(CacheObjectContext ctx,
ByteBuffer buf,
@Nullable IncompleteCacheObject incompleteObj) |
KeyCacheObject |
IgniteCacheObjectProcessor.toKeyCacheObject(CacheObjectContext ctx,
byte type,
byte[] bytes) |
Object |
IgniteCacheObjectProcessor.unmarshal(CacheObjectValueContext ctx,
byte[] bytes,
ClassLoader clsLdr) |
| Modifier and Type | Method and Description |
|---|---|
<R> ComputeTaskInternalFuture<R> |
GridClosureProcessor.affinityCall(@NotNull Collection<String> cacheNames,
int partId,
Callable<R> job,
@Nullable Collection<ClusterNode> nodes,
@Nullable String execName) |
ComputeTaskInternalFuture<?> |
GridClosureProcessor.affinityRun(@NotNull Collection<String> cacheNames,
int partId,
Runnable job,
@Nullable Collection<ClusterNode> nodes,
@Nullable String execName) |
<R> IgniteInternalFuture<R> |
GridClosureProcessor.callLocal(@Nullable Callable<R> c,
byte plc) |
IgniteInternalFuture<?> |
GridClosureProcessor.runLocal(@Nullable Runnable c,
byte plc) |
void |
GridClosureProcessor.start()
Starts grid component.
|
| Modifier and Type | Method and Description |
|---|---|
protected IgniteCheckedException |
GridClusterStateProcessor.concurrentStateChangeError(ClusterState state,
ClusterState transitionState) |
| Modifier and Type | Method and Description |
|---|---|
void |
ClusterProcessor.initDiagnosticListeners() |
void |
IgniteChangeGlobalStateSupport.onActivate(GridKernalContext kctx)
Called when cluster performing activation.
|
void |
IGridClusterStateProcessor.onBaselineTopologyChanged(BaselineTopology blt,
BaselineTopologyHistoryItem prevBltHistItem) |
void |
GridClusterStateProcessor.onBaselineTopologyChanged(BaselineTopology blt,
BaselineTopologyHistoryItem prevBltHistItem) |
void |
ClusterProcessor.onKernalStart(boolean active)
Callback that notifies that kernal has successfully started,
including all managers and processors.
|
void |
GridClusterStateProcessor.onKernalStart(boolean active)
Callback that notifies that kernal has successfully started,
including all managers and processors.
|
void |
GridClusterStateProcessor.onReadyForRead(ReadOnlyMetastorage metastorage)
Is called when metastorage is made ready for read-only operations very early on node startup phase.
|
void |
GridClusterStateProcessor.onReadyForReadWrite(ReadWriteMetastorage metastorage)
Fully functional metastore capable of performing reading and writing operations.
|
void |
GridClusterStateProcessor.resetBranchingHistory(long newBranchingHash)
Resets branching history on current BaselineTopology.
|
void |
ClusterProcessor.start()
Starts grid component.
|
void |
GridClusterStateProcessor.start()
Starts grid component.
|
void |
ClusterProcessor.stop(boolean cancel)
Stops grid component.
|
void |
GridClusterStateProcessor.stop(boolean cancel)
Stops grid component.
|
void |
ClusterProcessor.updateTag(String newTag)
Method is called when user requests updating tag through public API.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CompressionProcessor.checkPageCompressionSupported()
Checks weither page compression is supported.
|
void |
CompressionProcessor.checkPageCompressionSupported(Path storagePath,
int pageSize) |
ByteBuffer |
CompressionProcessor.compressPage(ByteBuffer page,
int pageSize,
int storeBlockSize,
DiskPageCompression compression,
int compressLevel) |
void |
CompressionProcessor.decompressPage(ByteBuffer page,
int pageSize) |
| Modifier and Type | Class and Description |
|---|---|
class |
DetachedPropertyException
Exception of distributed property still have not been attached to the processor.
|
class |
NotWritablePropertyException
Exception of distributed property still have not been allowed for write value.
|
| Modifier and Type | Method and Description |
|---|---|
GridFutureAdapter<?> |
PropertyUpdateClosure.casUpdate(String key,
Serializable expectedValue,
Serializable newValue)
Update property on cluster using compare and set way.
|
boolean |
DistributedProperty.propagate(T newVal)
Change value across whole cluster.
|
boolean |
SimpleDistributedProperty.propagate(T newVal)
Change value across whole cluster.
|
GridFutureAdapter<?> |
DistributedProperty.propagateAsync(T newVal)
Change value across whole cluster.
|
GridFutureAdapter<?> |
SimpleDistributedProperty.propagateAsync(T newVal)
Change value across whole cluster.
|
GridFutureAdapter<?> |
DistributedProperty.propagateAsync(T expectedVal,
T newVal)
Change value across whole cluster.
|
GridFutureAdapter<?> |
SimpleDistributedProperty.propagateAsync(T expectedVal,
T newVal)
Change value across whole cluster.
|
void |
DistributedConfigurationProcessor.start()
Starts grid component.
|
GridFutureAdapter<?> |
PropertyUpdateClosure.update(String key,
Serializable newValue)
Update property on cluster.
|
| Modifier and Type | Method and Description |
|---|---|
Map<UUID,IgniteCheckedException> |
StartRoutineAckDiscoveryMessage.errs() |
Map<UUID,IgniteCheckedException> |
StartRoutineDiscoveryMessage.errs() |
| Modifier and Type | Method and Description |
|---|---|
void |
StartRoutineDiscoveryMessage.addError(UUID nodeId,
IgniteCheckedException e) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridContinuousProcessor.addBackupNotification(UUID nodeId,
UUID routineId,
Collection<?> objs,
@Nullable Object orderedTopic) |
void |
GridContinuousProcessor.addNotification(UUID nodeId,
UUID routineId,
@Nullable Object obj,
@Nullable Object orderedTopic,
boolean sync,
boolean msg) |
void |
GridContinuousProcessor.onCacheStart(GridCacheContext ctx)
Callback invoked when cache is started.
|
void |
GridContinuousHandler.p2pMarshal(GridKernalContext ctx)
Deploys and marshals inner objects (called only if peer deployment is enabled).
|
void |
GridContinuousHandler.p2pUnmarshal(UUID nodeId,
GridKernalContext ctx)
Unmarshals inner objects (called only if peer deployment is enabled).
|
GridContinuousHandler.RegisterStatus |
GridContinuousHandler.register(UUID nodeId,
UUID routineId,
GridKernalContext ctx)
Registers listener.
|
UUID |
GridContinuousProcessor.registerStaticRoutine(String cacheName,
javax.cache.event.CacheEntryUpdatedListener<?,?> locLsnr,
CacheEntryEventSerializableFilter rmtFilter,
@Nullable IgnitePredicate<ClusterNode> prjPred)
Registers routine info to be sent in discovery data during this node join
(to be used for internal queries started from client nodes).
|
void |
GridContinuousProcessor.start()
Starts grid component.
|
IgniteInternalFuture<UUID> |
GridContinuousProcessor.startRoutine(GridContinuousHandler hnd,
boolean locOnly,
int bufSize,
long interval,
boolean autoUnsubscribe,
@Nullable IgnitePredicate<ClusterNode> prjPred) |
void |
GridContinuousProcessor.stop(boolean cancel)
Stops grid component.
|
| Constructor and Description |
|---|
StartRoutineAckDiscoveryMessage(UUID routineId,
Map<UUID,IgniteCheckedException> errs,
Map<Integer,T2<Long,Long>> cntrs,
Map<UUID,Map<Integer,T2<Long,Long>>> cntrsPerNode) |
| Modifier and Type | Method and Description |
|---|---|
void |
DataStreamerImpl.closeEx(boolean cancel) |
void |
DataStreamProcessor.onDisconnected(IgniteFuture<?> reconnectFut)
Client disconnected callback.
|
void |
DataStreamerImpl.onDisconnected(IgniteFuture<?> reconnectFut) |
void |
DataStreamProcessor.start()
Starts grid component.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
GridCacheAnnotationHelper.annotatedValue(Object target)
Returns annotated value.
|
IgniteAtomicLong |
DataStructuresProcessor.atomicLong(String name,
@Nullable AtomicConfiguration cfg,
long initVal,
boolean create)
Gets an atomic long from cache or creates one if it's not cached.
|
<T> IgniteAtomicReference<T> |
DataStructuresProcessor.atomicReference(String name,
@Nullable AtomicConfiguration cfg,
T initVal,
boolean create)
Gets an atomic reference from cache or creates one if it's not cached.
|
<T,S> IgniteAtomicStamped<T,S> |
DataStructuresProcessor.atomicStamped(String name,
@Nullable AtomicConfiguration cfg,
T initVal,
S initStamp,
boolean create)
Gets an atomic stamped from cache or creates one if it's not cached.
|
IgniteCountDownLatch |
DataStructuresProcessor.countDownLatch(String name,
@Nullable AtomicConfiguration cfg,
int cnt,
boolean autoDel,
boolean create)
Gets or creates count down latch.
|
void |
AtomicDataStructureProxy.onActivate(GridKernalContext kctx)
Called when cluster performing activation.
|
IgniteInternalFuture<?> |
DataStructuresProcessor.onReconnected(boolean clusterRestarted)
Client reconnected callback.
|
<T> IgniteQueue<T> |
DataStructuresProcessor.queue(String name,
@Nullable String grpName,
int cap,
@Nullable CollectionConfiguration cfg)
Gets a queue from cache or creates one if it's not cached.
|
IgniteLock |
DataStructuresProcessor.reentrantLock(String name,
@Nullable AtomicConfiguration cfg,
boolean failoverSafe,
boolean fair,
boolean create)
Gets or creates reentrant lock.
|
void |
DataStructuresProcessor.removeCountDownLatch(String name,
String grpName)
Removes count down latch from cache.
|
protected void |
GridAtomicCacheQueueImpl.removeItem(long rmvIdx)
Removes item with given index from queue.
|
protected abstract void |
GridCacheQueueAdapter.removeItem(long rmvIdx)
Removes item with given index from queue.
|
protected void |
GridTransactionalCacheQueueImpl.removeItem(long rmvIdx)
Removes item with given index from queue.
|
void |
DataStructuresProcessor.removeQueue(String name,
GridCacheContext cctx) |
void |
DataStructuresProcessor.removeReentrantLock(String name,
String grpName,
boolean broken)
Removes reentrant lock from cache.
|
void |
DataStructuresProcessor.removeSemaphore(String name,
String grpName)
Removes semaphore from cache.
|
void |
DataStructuresProcessor.removeSet(String name,
GridCacheContext cctx) |
static <R> R |
DataStructuresProcessor.retry(IgniteLogger log,
Callable<R> call) |
IgniteSemaphore |
DataStructuresProcessor.semaphore(String name,
@Nullable AtomicConfiguration cfg,
int cnt,
boolean failoverSafe,
boolean create)
Gets or creates semaphore.
|
IgniteAtomicSequence |
DataStructuresProcessor.sequence(String name,
@Nullable AtomicConfiguration cfg,
long initVal,
boolean create)
Gets a sequence from cache or creates one if it's not cached.
|
<T> @Nullable IgniteSet<T> |
DataStructuresProcessor.set(String name,
@Nullable String grpName,
@Nullable CollectionConfiguration cfg)
Gets a set from cache or creates one if it's not cached.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DiagnosticProcessor.dumpPageHistory(PageHistoryDiagnoster.DiagnosticPageBuilder builder)
Dump all history caches of given page.
|
void |
PageHistoryDiagnoster.dumpPageHistory(PageHistoryDiagnoster.DiagnosticPageBuilder builder)
Dump all history caches of given page.
|
void |
DiagnosticProcessor.onKernalStart(boolean active)
Callback that notifies that kernal has successfully started,
including all managers and processors.
|
| Constructor and Description |
|---|
DiagnosticProcessor(GridKernalContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
void |
FailureProcessor.start()
Starts grid component.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<ComputeJobSibling> |
GridJobProcessor.requestJobSiblings(ComputeTaskSession ses) |
void |
GridJobProcessor.setAttributes(GridJobSessionImpl ses,
Map<?,?> attrs) |
void |
GridJobProcessor.start()
Starts grid component.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridJobMetricsProcessor.start()
Deprecated.
Starts grid component.
|
void |
GridJobMetricsProcessor.stop(boolean cancel)
Deprecated.
Stops grid component.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DurableBackgroundTasksProcessor.start()
Starts grid component.
|
| Modifier and Type | Method and Description |
|---|---|
IgniteCheckedException |
MappingExchangeResult.error() |
| Modifier and Type | Method and Description |
|---|---|
void |
GridMarshallerMappingProcessor.onDisconnected(IgniteFuture<?> reconnectFut)
Client disconnected callback.
|
GridFutureAdapter<MappingExchangeResult> |
MarshallerMappingTransport.proposeMapping(MarshallerMappingItem item,
ConcurrentMap<Integer,MappedName> cache) |
void |
GridMarshallerMappingProcessor.start()
Starts grid component.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
DistributedMetaStorage.compareAndRemove(@NotNull String key,
@NotNull Serializable expVal)
Remove value from distributed metastorage but only if current value matches the expected one.
|
boolean |
DistributedMetaStorage.compareAndSet(@NotNull String key,
@Nullable Serializable expVal,
@NotNull Serializable newVal)
Write value into distributed metastorage but only if current value matches the expected one.
|
GridFutureAdapter<Boolean> |
DistributedMetaStorage.compareAndSetAsync(@NotNull String key,
@Nullable Serializable expVal,
@NotNull Serializable newVal)
Write value into distributed metastorage asynchronously but only if current value matches the expected one.
|
void |
ReadableDistributedMetaStorage.iterate(@NotNull String keyPrefix,
@NotNull BiConsumer<String,? super Serializable> cb)
Iterate over all values corresponding to the keys with given prefix.
|
<T extends Serializable> |
ReadableDistributedMetaStorage.read(@NotNull String key)
Get value by the key.
|
void |
DistributedMetaStorage.remove(@NotNull String key)
Remove value from distributed metastorage.
|
GridFutureAdapter<?> |
DistributedMetaStorage.removeAsync(@NotNull String key)
Remove value from distributed metastorage asynchronously.
|
void |
DistributedMetaStorage.write(@NotNull String key,
@NotNull Serializable val)
Write value into distributed metastorage.
|
GridFutureAdapter<?> |
DistributedMetaStorage.writeAsync(@NotNull String key,
@NotNull Serializable val)
Write value into distributed metastorage asynchronously.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
DistributedMetaStorageImpl.compareAndRemove(@NotNull String key,
@NotNull Serializable expVal)
Remove value from distributed metastorage but only if current value matches the expected one.
|
boolean |
DistributedMetaStorageImpl.compareAndSet(@NotNull String key,
@Nullable Serializable expVal,
@NotNull Serializable newVal)
Write value into distributed metastorage but only if current value matches the expected one.
|
GridFutureAdapter<Boolean> |
DistributedMetaStorageImpl.compareAndSetAsync(@NotNull String key,
@Nullable Serializable expVal,
@NotNull Serializable newVal)
Write value into distributed metastorage asynchronously but only if current value matches the expected one.
|
void |
DistributedMetaStorageImpl.iterate(@NotNull String keyPrefix,
@NotNull BiConsumer<String,? super Serializable> cb)
Iterate over all values corresponding to the keys with given prefix.
|
<T extends Serializable> |
DistributedMetaStorageImpl.read(@NotNull String key)
Get value by the key.
|
void |
DistributedMetaStorageImpl.remove(@NotNull String key)
Remove value from distributed metastorage.
|
GridFutureAdapter<?> |
DistributedMetaStorageImpl.removeAsync(@NotNull String key)
Remove value from distributed metastorage asynchronously.
|
void |
DistributedMetaStorageImpl.start()
Starts grid component.
|
void |
DistributedMetaStorageImpl.write(@NotNull String key,
@NotNull Serializable val)
Write value into distributed metastorage.
|
GridFutureAdapter<?> |
DistributedMetaStorageImpl.writeAsync(@NotNull String key,
@NotNull Serializable val)
Write value into distributed metastorage asynchronously.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridMetricManager.configureHistogram(String name,
long[] bounds)
Stores
HistogramMetric configuration in metastorage. |
void |
GridMetricManager.configureHitRate(String name,
long rateTimeInterval)
Change
HitRateMetric configuration if it exists. |
void |
GridMetricManager.start()
Starts grid component.
|
void |
GridMetricManager.stop(boolean cancel)
Stops grid component.
|
| Modifier and Type | Method and Description |
|---|---|
protected AuthorizationContext |
ClientListenerAbstractConnectionContext.authenticate(Certificate[] certificates,
String user,
String pwd)
Perform authentication.
|
byte[] |
ClientListenerBufferedParser.decode(GridNioSession ses,
ByteBuffer buf)
This method is called when input bytes are available on the underlying network connection.
|
ByteBuffer |
ClientListenerBufferedParser.encode(GridNioSession ses,
Object msg)
This method is called whenever a message should be sent to the network connection
and network buffer is ready to be filled with bytes.
|
void |
ClientListenerConnectionContext.initializeFromHandshake(GridNioSession ses,
ClientListenerProtocolVersion ver,
BinaryReaderExImpl reader)
Initialize from handshake message.
|
void |
ClientListenerProcessor.onKernalStart(boolean active)
Callback that notifies that kernal has successfully started,
including all managers and processors.
|
@Nullable byte[] |
ClientListenerNioServerBuffer.read(ByteBuffer buf) |
void |
ClientListenerProcessor.start()
Starts grid component.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JdbcConnectionContext.initializeFromHandshake(GridNioSession ses,
ClientListenerProtocolVersion ver,
BinaryReaderExImpl reader)
Initialize from handshake message.
|
void |
JdbcBulkLoadProcessor.processBatch(JdbcBulkLoadBatchRequest req)
Completely processes a bulk load batch request.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OdbcConnectionContext.initializeFromHandshake(GridNioSession ses,
ClientListenerProtocolVersion ver,
BinaryReaderExImpl reader)
Initialize from handshake message.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridOffHeapProcessor.contains(@Nullable String spaceName,
int part,
KeyCacheObject key,
byte[] keyBytes)
Checks if offheap space contains value for the given key.
|
void |
GridOffHeapProcessor.enableEviction(@Nullable String spaceName,
int part,
KeyCacheObject key,
byte[] keyBytes)
Enables eviction for entry after
GridOffHeapProcessor.valuePointer(java.lang.String, int, org.apache.ignite.internal.processors.cache.KeyCacheObject, byte[]) was called. |
@Nullable byte[] |
GridOffHeapProcessor.get(@Nullable String spaceName,
int part,
KeyCacheObject key,
byte[] keyBytes)
Gets value bytes from offheap space for the given key.
|
<T> T |
GridOffHeapProcessor.getValue(@Nullable String spaceName,
int part,
KeyCacheObject key,
byte[] keyBytes,
@Nullable ClassLoader ldr)
Gets value from offheap space for the given key.
|
void |
GridOffHeapProcessor.put(@Nullable String spaceName,
int part,
KeyCacheObject key,
byte[] keyBytes,
byte[] valBytes)
Puts the given value to offheap space for the given key.
|
@Nullable byte[] |
GridOffHeapProcessor.remove(@Nullable String spaceName,
int part,
KeyCacheObject key,
byte[] keyBytes)
Removes value from offheap space for the given key.
|
boolean |
GridOffHeapProcessor.removex(@Nullable String spaceName,
int part,
KeyCacheObject key,
byte[] keyBytes)
Removes value from offheap space for the given key.
|
boolean |
GridOffHeapProcessor.removex(@Nullable String spaceName,
int part,
KeyCacheObject key,
byte[] keyBytes,
IgniteBiPredicate<Long,Integer> p)
Removes value from offheap space for the given key.
|
void |
GridOffHeapProcessor.stop(boolean cancel)
Stops grid component.
|
@Nullable IgniteBiTuple<Long,Integer> |
GridOffHeapProcessor.valuePointer(@Nullable String spaceName,
int part,
KeyCacheObject key,
byte[] keyBytes)
Gets value pointer from offheap space for the given key.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PlatformException
Interop checked exception.
|
class |
PlatformExtendedException
Denotes an exception which has some data to be written in a special manner.
|
class |
PlatformNativeException
Exception occurred on native side.
|
class |
PlatformNoCallbackException
Exception raised when interop callback is not set in native platform.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PlatformProcessor.awaitStart()
Await until platform processor is safe to use (i.e.
|
void |
PlatformNoopProcessor.awaitStart()
Await until platform processor is safe to use (i.e.
|
void |
PlatformProcessorImpl.awaitStart()
Await until platform processor is safe to use (i.e.
|
void |
PlatformProcessorImpl.onDisconnected(IgniteFuture<?> reconnectFut)
Client disconnected callback.
|
IgniteInternalFuture<?> |
PlatformProcessorImpl.onReconnected(boolean clusterRestarted)
Client reconnected callback.
|
long |
PlatformTarget.processInLongOutLong(int type,
long val)
Process IN operation.
|
long |
PlatformProcessorImpl.processInLongOutLong(int type,
long val)
Process IN operation.
|
long |
PlatformAbstractTarget.processInLongOutLong(int type,
long val)
Process IN operation.
|
PlatformTarget |
PlatformTarget.processInObjectStreamOutObjectStream(int type,
@Nullable PlatformTarget arg,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
Process IN-OUT operation.
|
PlatformTarget |
PlatformProcessorImpl.processInObjectStreamOutObjectStream(int type,
@Nullable PlatformTarget arg,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
Process IN-OUT operation.
|
PlatformTarget |
PlatformAbstractTarget.processInObjectStreamOutObjectStream(int type,
@Nullable PlatformTarget arg,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
Process IN-OUT operation.
|
PlatformAsyncResult |
PlatformTarget.processInStreamAsync(int type,
BinaryRawReaderEx reader)
Process asynchronous operation.
|
PlatformAsyncResult |
PlatformProcessorImpl.processInStreamAsync(int type,
BinaryRawReaderEx reader)
Process asynchronous operation.
|
PlatformAsyncResult |
PlatformAbstractTarget.processInStreamAsync(int type,
BinaryRawReaderEx reader)
Process asynchronous operation.
|
long |
PlatformTarget.processInStreamOutLong(int type,
BinaryRawReaderEx reader)
Process IN operation.
|
long |
PlatformProcessorImpl.processInStreamOutLong(int type,
BinaryRawReaderEx reader)
Process IN operation.
|
long |
PlatformAbstractTarget.processInStreamOutLong(int type,
BinaryRawReaderEx reader)
Process IN operation.
|
long |
PlatformTarget.processInStreamOutLong(int type,
BinaryRawReaderEx reader,
PlatformMemory mem)
Process IN operation.
|
long |
PlatformProcessorImpl.processInStreamOutLong(int type,
BinaryRawReaderEx reader,
PlatformMemory mem)
Process IN operation.
|
long |
PlatformAbstractTarget.processInStreamOutLong(int type,
BinaryRawReaderEx reader,
PlatformMemory mem)
Process IN operation.
|
PlatformTarget |
PlatformTarget.processInStreamOutObject(int type,
BinaryRawReaderEx reader)
Process IN-OUT operation.
|
PlatformTarget |
PlatformProcessorImpl.processInStreamOutObject(int type,
BinaryRawReaderEx reader)
Process IN-OUT operation.
|
PlatformTarget |
PlatformAbstractTarget.processInStreamOutObject(int type,
BinaryRawReaderEx reader)
Process IN-OUT operation.
|
void |
PlatformTarget.processInStreamOutStream(int type,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
Process IN-OUT operation.
|
void |
PlatformProcessorImpl.processInStreamOutStream(int type,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
Process IN-OUT operation.
|
void |
PlatformAbstractTarget.processInStreamOutStream(int type,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
Process IN-OUT operation.
|
PlatformTarget |
PlatformTarget.processOutObject(int type)
Process OUT operation.
|
PlatformTarget |
PlatformProcessorImpl.processOutObject(int type)
Process OUT operation.
|
PlatformTarget |
PlatformAbstractTarget.processOutObject(int type)
Process OUT operation.
|
void |
PlatformTarget.processOutStream(int type,
BinaryRawWriterEx writer)
Process OUT operation.
|
void |
PlatformProcessorImpl.processOutStream(int type,
BinaryRawWriterEx writer)
Process OUT operation.
|
void |
PlatformAbstractTarget.processOutStream(int type,
BinaryRawWriterEx writer)
Process OUT operation.
|
protected PlatformListenable |
PlatformAbstractTarget.readAndListenFuture(BinaryRawReader reader,
IgniteFuture fut)
Reads future information and listens.
|
protected PlatformListenable |
PlatformAbstractTarget.readAndListenFuture(BinaryRawReader reader,
IgniteFuture fut,
PlatformFutureUtils.Writer writer)
Reads future information and listens.
|
protected PlatformListenable |
PlatformAbstractTarget.readAndListenFuture(BinaryRawReader reader,
IgniteInternalFuture fut)
Reads future information and listens.
|
void |
PlatformProcessor.registerStore(PlatformCacheStore store,
boolean convertBinary)
Register cache store.
|
void |
PlatformNoopProcessor.registerStore(PlatformCacheStore store,
boolean convertBinary)
Register cache store.
|
void |
PlatformProcessorImpl.registerStore(PlatformCacheStore store,
boolean convertBinary)
Register cache store.
|
void |
PlatformProcessorImpl.start()
Starts grid component.
|
void |
PlatformProcessorImpl.stop(boolean cancel)
Stops grid component.
|
static <T> T |
PlatformAbstractTarget.throwUnsupported(int type)
Throw an exception rendering unsupported operation type.
|
| Modifier and Type | Method and Description |
|---|---|
long |
PlatformBinaryProcessor.processInStreamOutLong(int type,
BinaryRawReaderEx reader)
Process IN operation.
|
void |
PlatformBinaryProcessor.processInStreamOutStream(int type,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
Process IN-OUT operation.
|
void |
PlatformBinaryProcessor.processOutStream(int type,
BinaryRawWriterEx writer)
Process OUT operation.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PlatformCachePartialUpdateException
Interop cache partial update exception.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PlatformCacheManager.onKernalStart() |
long |
PlatformCache.processInLongOutLong(int type,
long val)
Process IN operation.
|
long |
PlatformCacheExtension.processInOutStreamLong(PlatformCache target,
int type,
BinaryRawReaderEx reader,
PlatformMemory mem)
Invokes in-out operation with long return type.
|
long |
PlatformCache.processInStreamOutLong(int type,
BinaryRawReaderEx reader,
PlatformMemory mem)
Process IN operation.
|
PlatformTarget |
PlatformCache.processInStreamOutObject(int type,
BinaryRawReaderEx reader)
Process IN-OUT operation.
|
PlatformTarget |
PlatformCache.processOutObject(int type)
Process OUT operation.
|
void |
PlatformCache.processOutStream(int type,
BinaryRawWriterEx writer)
Process OUT operation.
|
void |
PlatformCacheIterator.processOutStream(int type,
BinaryRawWriterEx writer)
Process OUT operation.
|
void |
PlatformCacheManager.start(GridCacheContext cctx)
Starts manager.
|
| Modifier and Type | Method and Description |
|---|---|
long |
PlatformAffinity.processInLongOutLong(int type,
long val)
Process IN operation.
|
long |
PlatformAffinity.processInStreamOutLong(int type,
BinaryRawReaderEx reader)
Process IN operation.
|
long |
PlatformAffinityFunctionTarget.processInStreamOutLong(int type,
BinaryRawReaderEx reader)
Process IN operation.
|
long |
PlatformAffinityManager.processInStreamOutLong(int type,
BinaryRawReaderEx reader)
Process IN operation.
|
void |
PlatformAffinity.processInStreamOutStream(int type,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
Process IN-OUT operation.
|
void |
PlatformAffinityFunctionTarget.processOutStream(int type,
BinaryRawWriterEx writer)
Process OUT operation.
|
void |
PlatformAffinityFunction.setIgnite(Ignite ignite)
Injects the Ignite.
|
| Constructor and Description |
|---|
PlatformAffinity(PlatformContext platformCtx,
@Nullable String name)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
PlatformContinuousQueryProxy.processInLongOutLong(int type,
long val)
Process IN operation.
|
long |
PlatformAbstractQueryCursor.processInLongOutLong(int type,
long val)
Process IN operation.
|
PlatformTarget |
PlatformContinuousQueryProxy.processOutObject(int type)
Process OUT operation.
|
void |
PlatformFieldsQueryCursor.processOutStream(int type,
BinaryRawWriterEx writer)
Process OUT operation.
|
void |
PlatformAbstractQueryCursor.processOutStream(int type,
BinaryRawWriterEx writer)
Process OUT operation.
|
void |
PlatformContinuousQuery.start(IgniteCacheProxy cache,
boolean loc,
int bufSize,
long timeInterval,
boolean autoUnsubscribe,
Query initialQry)
Start continuous query execution.
|
void |
PlatformContinuousQueryImpl.start(IgniteCacheProxy cache,
boolean loc,
int bufSize,
long timeInterval,
boolean autoUnsubscribe,
Query initialQry)
Start query execution.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PlatformCallbackGateway.serviceCancel(long memPtr)
Cancels native service.
|
void |
PlatformCallbackGateway.serviceExecute(long memPtr)
Executes native service.
|
long |
PlatformCallbackGateway.serviceInit(long memPtr)
Initializes native service.
|
void |
PlatformCallbackGateway.serviceInvokeMethod(long memPtr)
Invokes service method.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ClientConnectionContext.initializeFromHandshake(GridNioSession ses,
ClientListenerProtocolVersion ver,
BinaryReaderExImpl reader)
Initialize from handshake message.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ClientTxContext.acquire(boolean resumeTx)
Acquire context to work with transaction in the current thread.
|
void |
ClientTxContext.release(boolean suspendTx)
Release context.
|
| Modifier and Type | Method and Description |
|---|---|
long |
PlatformClusterGroup.processInLongOutLong(int type,
long val)
Process IN operation.
|
PlatformTarget |
PlatformClusterGroup.processInObjectStreamOutObjectStream(int type,
@Nullable PlatformTarget arg,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
Process IN-OUT operation.
|
long |
PlatformClusterGroup.processInStreamOutLong(int type,
BinaryRawReaderEx reader)
Process IN operation.
|
PlatformTarget |
PlatformClusterGroup.processInStreamOutObject(int type,
BinaryRawReaderEx reader)
Process IN-OUT operation.
|
void |
PlatformClusterGroup.processInStreamOutStream(int type,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
Process IN-OUT operation.
|
PlatformTarget |
PlatformClusterGroup.processOutObject(int type)
Process OUT operation.
|
void |
PlatformClusterGroup.processOutStream(int type,
BinaryRawWriterEx writer)
Process OUT operation.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
PlatformCompute.ComputeConvertingFuture.cancel()
Cancels this future.
|
protected boolean |
PlatformAbstractJob.createJob(PlatformContext ctx)
Create job in native platform if needed.
|
protected abstract Object |
PlatformAbstractJob.execute0(PlatformContext ctx)
Internal job execution routine.
|
@Nullable Object |
PlatformClosureJob.execute0(PlatformContext ctx)
Internal job execution routine.
|
@Nullable Object |
PlatformFullJob.execute0(PlatformContext ctx)
Internal job execution routine.
|
protected Object |
PlatformCompute.executeJavaTask(BinaryRawReaderEx reader,
boolean async)
Execute task taking arguments from the given reader.
|
Object |
PlatformCompute.ComputeConvertingFuture.get()
Synchronously waits for completion of the computation and
returns computation result.
|
Object |
PlatformCompute.ComputeConvertingFuture.get(long timeout)
Synchronously waits for completion of the computation for
up to the timeout specified and returns computation result.
|
Object |
PlatformCompute.ComputeConvertingFuture.get(long timeout,
TimeUnit unit)
Synchronously waits for completion of the computation for
up to the timeout specified and returns computation result.
|
Object |
PlatformCompute.ComputeConvertingFuture.getUninterruptibly()
Synchronously waits for completion of the computation and returns computation result ignoring interrupts.
|
protected Object |
PlatformAbstractFunc.invoke()
Invokes this instance.
|
long |
PlatformCompute.processInLongOutLong(int type,
long val)
Process IN operation.
|
PlatformTarget |
PlatformCompute.processInStreamOutObject(int type,
BinaryRawReaderEx reader)
Process IN-OUT operation.
|
void |
PlatformCompute.processInStreamOutStream(int type,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
Process IN-OUT operation.
|
| Modifier and Type | Method and Description |
|---|---|
long |
PlatformDataStreamer.processInLongOutLong(int type,
long val)
Process IN operation.
|
long |
PlatformDataStreamer.processInStreamOutLong(int type,
BinaryRawReaderEx reader)
Process IN operation.
|
| Modifier and Type | Method and Description |
|---|---|
long |
PlatformAtomicReference.processInLongOutLong(int type,
long val)
Process IN operation.
|
long |
PlatformAtomicLong.processInLongOutLong(int type,
long val)
Process IN operation.
|
long |
PlatformAtomicSequence.processInLongOutLong(int type,
long val)
Process IN operation.
|
long |
PlatformAtomicReference.processInStreamOutLong(int type,
BinaryRawReaderEx reader)
Process IN operation.
|
long |
PlatformAtomicLong.processInStreamOutLong(int type,
BinaryRawReaderEx reader)
Process IN operation.
|
void |
PlatformAtomicReference.processInStreamOutStream(int type,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
Process IN-OUT operation.
|
void |
PlatformAtomicReference.processOutStream(int type,
BinaryRawWriterEx writer)
Process OUT operation.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
PlatformDotNetCacheStore.doInvoke(IgniteInClosure<BinaryRawWriterEx> task,
IgniteInClosure<BinaryRawReaderEx> readClo)
Perform actual invoke.
|
void |
PlatformDotNetCacheStore.initialize(GridKernalContext ctx,
boolean convertBinary)
Initialize the store.
|
| Modifier and Type | Method and Description |
|---|---|
long |
PlatformDotNetEntityFrameworkCacheExtension.processInOutStreamLong(PlatformCache target,
int type,
BinaryRawReaderEx reader,
PlatformMemory mem)
Invokes in-out operation with long return type.
|
| Modifier and Type | Method and Description |
|---|---|
long |
PlatformEvents.processInLongOutLong(int type,
long val)
Process IN operation.
|
long |
PlatformEvents.processInStreamOutLong(int type,
BinaryRawReaderEx reader)
Process IN operation.
|
void |
PlatformEvents.processInStreamOutStream(int type,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
Process IN-OUT operation.
|
PlatformTarget |
PlatformEvents.processOutObject(int type)
Process OUT operation.
|
void |
PlatformEvents.processOutStream(int type,
BinaryRawWriterEx writer)
Process OUT operation.
|
| Modifier and Type | Method and Description |
|---|---|
long |
PlatformMessaging.processInStreamOutLong(int type,
BinaryRawReaderEx reader)
Process IN operation.
|
void |
PlatformMessaging.processInStreamOutStream(int type,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
Process IN-OUT operation.
|
PlatformTarget |
PlatformMessaging.processOutObject(int type)
Process OUT operation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PlatformPluginProcessor.stop(boolean cancel)
Stops grid component.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
PlatformService.invokeMethod(String mthdName,
boolean srvKeepBinary,
boolean deserializeResult,
Object[] args)
Invokes native service method.
|
Object |
PlatformAbstractService.invokeMethod(String mthdName,
boolean srvKeepBinary,
boolean deserializeResult,
Object[] args)
Invokes native service method.
|
Object |
PlatformService.invokeMethod(String mthdName,
boolean srvKeepBinary,
Object[] args)
Invokes native service method.
|
Object |
PlatformAbstractService.invokeMethod(String mthdName,
boolean srvKeepBinary,
Object[] args)
Invokes native service method.
|
long |
PlatformServices.processInLongOutLong(int type,
long val)
Process IN operation.
|
PlatformTarget |
PlatformServices.processInObjectStreamOutObjectStream(int type,
PlatformTarget arg,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
Process IN-OUT operation.
|
long |
PlatformServices.processInStreamOutLong(int type,
BinaryRawReaderEx reader)
Process IN operation.
|
PlatformTarget |
PlatformServices.processInStreamOutObject(int type,
BinaryRawReaderEx reader)
Process IN-OUT operation.
|
void |
PlatformServices.processInStreamOutStream(int type,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
Process IN-OUT operation.
|
PlatformTarget |
PlatformServices.processOutObject(int type)
Process OUT operation.
|
void |
PlatformServices.processOutStream(int type,
BinaryRawWriterEx writer)
Process OUT operation.
|
| Modifier and Type | Method and Description |
|---|---|
long |
PlatformTransactions.processInLongOutLong(int type,
long val)
Process IN operation.
|
long |
PlatformTransactions.processInStreamOutLong(int type,
BinaryRawReaderEx reader)
Process IN operation.
|
void |
PlatformTransactions.processInStreamOutStream(int type,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
Process IN-OUT operation.
|
void |
PlatformTransactions.processOutStream(int type,
BinaryRawWriterEx writer)
Process OUT operation.
|
| Modifier and Type | Method and Description |
|---|---|
static IgniteCheckedException |
PlatformUtils.unwrapQueryException(Throwable err)
Unwrap query exception.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
PlatformListenable.cancel()
Cancel this instance.
|
long |
PlatformListenableTarget.processInLongOutLong(int type,
long val)
Process IN operation.
|
static Object |
PlatformUtils.readInvocationResult(PlatformContext ctx,
BinaryRawReaderEx reader)
Reads invocation result (of a job/service/etc) using a common protocol.
|
static Object |
PlatformUtils.readInvocationResult(PlatformContext ctx,
BinaryRawReaderEx reader,
boolean deserialize)
Reads invocation result (of a job/service/etc) using a common protocol.
|
| Modifier and Type | Method and Description |
|---|---|
long |
PlatformDotNetSessionCacheExtension.processInOutStreamLong(PlatformCache target,
int type,
BinaryRawReaderEx reader,
PlatformMemory mem)
Invokes in-out operation with long return type.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
CachePluginManager.onKernalStart0() |
void |
IgnitePluginProcessor.start()
Starts grid component.
|
protected void |
CachePluginManager.start0() |
void |
CachePluginManager.validate()
Validates cache plugin configurations.
|
void |
CachePluginManager.validateRemotes(CacheConfiguration rmtCfg,
ClusterNode rmtNode)
Checks that remote caches has configuration compatible with the local.
|
| Constructor and Description |
|---|
IgnitePluginProcessor(GridKernalContext ctx,
IgniteConfiguration cfg,
List<PluginProvider> providers) |
| Modifier and Type | Method and Description |
|---|---|
Executor |
PoolProcessor.poolForPolicy(byte plc)
Get executor service for policy.
|
void |
PoolProcessor.stop(boolean cancel)
Stops grid component.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridPortProcessor.start()
Starts grid component.
|
void |
GridPortProcessor.stop(boolean cancel)
Stops grid component.
|
| Modifier and Type | Method and Description |
|---|---|
QueryIndexDescriptorImpl |
QueryIndexDescriptorImpl.addField(String field,
int orderNum,
boolean descending)
Adds field to this index.
|
void |
QueryTypeDescriptorImpl.addFieldToTextIndex(String field)
Adds field to text index.
|
void |
QueryTypeDescriptorImpl.addIndex(QueryIndexDescriptorImpl idx)
Add index.
|
void |
QueryTypeDescriptorImpl.addProperty(GridQueryProperty prop,
boolean failOnDuplicate)
Adds property to the type descriptor.
|
void |
QueryTypeDescriptorImpl.addProperty(GridQueryProperty prop,
boolean failOnDuplicate,
boolean isField)
Adds property to the type descriptor.
|
boolean |
GridQueryProcessor.belongsToTable(GridCacheContext cctx,
String expCacheName,
String expTblName,
KeyCacheObject key,
CacheObject val)
Check whether provided key and value belongs to expected cache and table.
|
static QueryClassProperty |
QueryUtils.buildClassProperty(Class<?> keyCls,
Class<?> valCls,
String pathStr,
Class<?> resType,
Map<String,String> aliases,
boolean notNull,
CacheObjectContext coCtx) |
static GridQueryProperty |
QueryUtils.buildProperty(Class<?> keyCls,
Class<?> valCls,
String keyFieldName,
String valueFieldName,
String pathStr,
Class<?> resType,
Map<String,String> aliases,
boolean notNull,
CacheObjectContext coCtx) |
default void |
UpdateSourceIterator.close()
Closes the iterator and frees all the resources held by the iterator.
|
static QueryIndexDescriptorImpl |
QueryUtils.createIndexDescriptor(QueryTypeDescriptorImpl typeDesc,
QueryIndex idx)
Create index descriptor.
|
void |
GridQueryIndexing.destroyOrphanIndex(RootPage page,
String indexName,
int grpId,
PageMemory pageMemory,
GridAtomicLong removeId,
ReuseList reuseList,
boolean mvccEnabled)
Destroy founded index which belongs to stopped cache.
|
void |
GridQueryIndexing.dynamicAddColumn(String schemaName,
String tblName,
List<QueryField> cols,
boolean ifTblExists,
boolean ifColNotExists)
Add columns to dynamic table.
|
void |
GridQueryIndexing.dynamicDropColumn(String schemaName,
String tblName,
List<String> cols,
boolean ifTblExists,
boolean ifColExists)
Drop columns from dynamic table.
|
void |
GridQueryIndexing.dynamicIndexCreate(String schemaName,
String tblName,
QueryIndexDescriptorImpl idxDesc,
boolean ifNotExists,
SchemaIndexCacheVisitor cacheVisitor)
Create new index locally.
|
void |
GridQueryIndexing.dynamicIndexDrop(String schemaName,
String idxName,
boolean ifExists)
Remove index from the cache.
|
void |
GridQueryProcessor.dynamicTableCreate(String schemaName,
QueryEntity entity,
String templateName,
String cacheName,
String cacheGroup,
@Nullable String dataRegion,
String affinityKey,
@Nullable CacheAtomicityMode atomicityMode,
@Nullable CacheWriteSynchronizationMode writeSyncMode,
@Nullable Integer backups,
boolean ifNotExists,
boolean encrypted,
@Nullable Integer qryParallelism)
Create cache and table from given query entity.
|
<R> R |
GridQueryProcessor.executeQuery(GridCacheQueryType qryType,
String qry,
@Nullable GridCacheContext<?,?> cctx,
IgniteOutClosureX<R> clo,
boolean complete) |
UpdateSourceIterator<?> |
GridQueryIndexing.executeUpdateOnDataNodeTransactional(GridCacheContext<?,?> cctx,
int[] ids,
int[] parts,
String schema,
String qry,
Object[] params,
int flags,
int pageSize,
int timeout,
AffinityTopologyVersion topVer,
MvccSnapshot mvccSnapshot,
GridQueryCancel cancel) |
UpdateSourceIterator<?> |
GridQueryProcessor.executeUpdateOnDataNodeTransactional(GridCacheContext<?,?> cctx,
int[] cacheIds,
int[] parts,
String schema,
String qry,
Object[] params,
int flags,
int pageSize,
int timeout,
AffinityTopologyVersion topVer,
MvccSnapshot mvccSnapshot,
GridQueryCancel cancel)
Execute update on DHT node (i.e. when it is possible to execute and update on all nodes independently).
|
default long |
GridQueryIndexing.indexSize(String schemaName,
String tblName,
String idxName)
Return index size by schema, table and index name.
|
boolean |
GridQueryIndexing.initCacheContext(GridCacheContext ctx)
Initialize table's cache context created for not started cache.
|
void |
GridQueryProcessor.initQueryStructuresForNotStartedCache(DynamicCacheDescriptor cacheDesc)
Initialize query infrastructure for not started cache.
|
IgniteSpiCloseableIterator<List<?>> |
GridQueryFieldsResult.iterator()
Gets iterator over queried fields.
|
GridCloseableIterator<List<?>> |
GridQueryFieldsResultAdapter.iterator()
Gets iterator over queried fields.
|
void |
GridQueryProcessor.onCacheKernalStart()
Handle cache kernal start.
|
void |
GridQueryProcessor.onCacheReconnect()
Handle cache reconnect.
|
void |
GridQueryProcessor.onCacheStart(GridCacheContextInfo cacheInfo,
QuerySchema schema,
boolean isSql)
Handle cache start.
|
void |
GridQueryProcessor.onCacheStart0(GridCacheContextInfo<?,?> cacheInfo,
QuerySchema schema,
boolean isSql)
Create type descriptors from schema and initialize indexing for given cache.
|
void |
GridQueryIndexing.onClientDisconnect()
Performs necessary actions on disconnect of a stateful client (say, one associated with a transaction).
|
void |
GridQueryProcessor.onDisconnected(IgniteFuture<?> reconnectFut)
Client disconnected callback.
|
static void |
QueryUtils.processBinaryMeta(GridKernalContext ctx,
QueryEntity qryEntity,
QueryTypeDescriptorImpl d)
Processes declarative metadata for binary object.
|
static void |
QueryUtils.processClassMeta(QueryEntity qryEntity,
QueryTypeDescriptorImpl d,
CacheObjectContext coCtx)
Processes declarative metadata for binary object.
|
static void |
QueryUtils.processDynamicIndexChange(String idxName,
@Nullable QueryIndex idx,
QueryTypeDescriptorImpl d)
Process dynamic index change.
|
<K,V> GridCloseableIterator<IgniteBiTuple<K,V>> |
GridQueryIndexing.queryLocalText(String schemaName,
String cacheName,
String qry,
String typeName,
IndexingQueryFilter filter,
int limit)
Executes text query.
|
<K,V> GridCloseableIterator<IgniteBiTuple<K,V>> |
GridQueryProcessor.queryText(String cacheName,
String clause,
String resType,
IndexingQueryFilter filters,
int limit) |
void |
GridQueryIndexing.registerCache(String cacheName,
String schemaName,
GridCacheContextInfo<?,?> cacheInfo)
Registers cache.
|
void |
GridQueryIndexing.registerMxBeans(IgniteMBeansManager mbMgr)
Register SQL JMX beans.
|
boolean |
GridQueryIndexing.registerType(GridCacheContextInfo cacheInfo,
GridQueryTypeDescriptor desc,
boolean isSql)
Registers type if it was not known before or updates it otherwise.
|
void |
GridQueryProcessor.remove(GridCacheContext cctx,
CacheDataRow row) |
void |
GridQueryIndexing.remove(GridCacheContext cctx,
GridQueryTypeDescriptor type,
CacheDataRow row)
Removes index entry by key.
|
void |
QueryTypeDescriptorImpl.removeProperty(String name)
Removes a property with specified name.
|
default void |
UpdateSourceIterator.removeX()
This method is the same as
Iterator.remove(), but allows for failure
with exception. |
void |
QueryTypeDescriptorImpl.setDefaults(Object key,
Object val)
Sets defaults value for given key and value.
|
void |
GridQueryTypeDescriptor.setDefaults(Object key,
Object val)
Sets defaults value for given key and value.
|
void |
GridQueryProperty.setValue(Object key,
Object val,
Object propVal)
Sets this property value for the given object.
|
void |
QueryUtils.KeyOrValProperty.setValue(Object key,
Object val,
Object propVal)
Sets this property value for the given object.
|
void |
QueryTypeDescriptorImpl.setValue(String field,
Object key,
Object val,
Object propVal)
Sets field value for given key and value.
|
void |
GridQueryTypeDescriptor.setValue(String field,
Object key,
Object val,
Object propVal)
Sets field value for given key and value.
|
void |
GridQueryProcessor.start()
Starts grid component.
|
void |
GridQueryIndexing.start(GridKernalContext ctx,
GridSpinBusyLock busyLock)
Starts indexing.
|
void |
GridQueryIndexing.stop()
Stops indexing.
|
void |
GridQueryProcessor.stop(boolean cancel)
Stops grid component.
|
void |
GridQueryProcessor.store(GridCacheContext cctx,
CacheDataRow newRow,
@Nullable CacheDataRow prevRow,
boolean prevRowAvailable) |
void |
GridQueryIndexing.store(GridCacheContext cctx,
GridQueryTypeDescriptor type,
CacheDataRow row,
CacheDataRow prevRow,
boolean prevRowAvailable)
Updates index.
|
List<Long> |
GridQueryIndexing.streamBatchedUpdateQuery(String schemaName,
String qry,
List<Object[]> params,
SqlClientContext cliCtx)
Execute a batched INSERT statement using data streamer as receiver.
|
long |
GridQueryIndexing.streamUpdateQuery(String schemaName,
String qry,
@Nullable Object[] params,
IgniteDataStreamer<?,?> streamer)
Execute an INSERT statement using data streamer as receiver.
|
@Nullable QueryTypeDescriptorImpl |
GridQueryProcessor.typeByValue(String cacheName,
CacheObjectContext coctx,
KeyCacheObject key,
CacheObject val,
boolean checkType) |
static QueryTypeCandidate |
QueryUtils.typeForQueryEntity(GridKernalContext ctx,
String cacheName,
String schemaName,
GridCacheContextInfo cacheInfo,
QueryEntity qryEntity,
List<Class<?>> mustDeserializeClss,
boolean escape)
Create type candidate for query entity.
|
void |
GridQueryIndexing.unregisterCache(GridCacheContextInfo cacheInfo,
boolean rmvIdx)
Unregisters cache.
|
void |
GridQueryProcessor.validateKeyAndValue(CacheObjectContext coctx,
KeyCacheObject key,
CacheObject val)
Performs validation of provided key and value against configured constraints.
|
void |
QueryTypeDescriptorImpl.validateKeyAndValue(Object key,
Object val)
Performs validation of given key and value against configured constraints.
|
void |
GridQueryTypeDescriptor.validateKeyAndValue(Object key,
Object val)
Performs validation of given key and value against configured constraints.
|
Object |
GridQueryProperty.value(Object key,
Object val)
Gets this property value from the given object.
|
Object |
QueryUtils.KeyOrValProperty.value(Object key,
Object val)
Gets this property value from the given object.
|
<T> T |
QueryTypeDescriptorImpl.value(String field,
Object key,
Object val)
Gets field value for given key and value.
|
<T> T |
GridQueryTypeDescriptor.value(String field,
Object key,
Object val)
Gets field value for given key and value.
|
| Constructor and Description |
|---|
GridQueryProcessor(GridKernalContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
Object |
QueryPropertyAccessor.getValue(Object obj)
Get property value from given object.
|
Object |
QueryFieldAccessor.getValue(Object obj)
Get property value from given object.
|
Object |
QueryMethodsAccessor.getValue(Object obj)
Get property value from given object.
|
Object |
QueryReadOnlyMethodsAccessor.getValue(Object obj)
Get property value from given object.
|
void |
QueryPropertyAccessor.setValue(Object obj,
Object newVal)
Set property value on given object.
|
void |
QueryFieldAccessor.setValue(Object obj,
Object newVal)
Set property value on given object.
|
void |
QueryMethodsAccessor.setValue(Object obj,
Object newVal)
Set property value on given object.
|
void |
QueryReadOnlyMethodsAccessor.setValue(Object obj,
Object newVal)
Set property value on given object.
|
void |
QueryBinaryProperty.setValue(Object key,
Object val,
Object propVal)
Sets this property value for the given object.
|
void |
QueryClassProperty.setValue(Object key,
Object val,
Object propVal)
Sets this property value for the given object.
|
Object |
QueryBinaryProperty.value(Object key,
Object val)
Gets this property value from the given object.
|
Object |
QueryClassProperty.value(Object key,
Object val)
Gets this property value from the given object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SchemaOperationException
Schema operation exception.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
SchemaIndexCacheFilter.apply(CacheDataRow row) |
void |
SchemaIndexCacheVisitorClosure.apply(CacheDataRow row)
Apply closure.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridResourceProcessor.cleanup(IgniteSpi spi)
Cleans up resources from given SPI implementation.
|
void |
GridResourceProcessor.cleanup(LifecycleBean lifecycleBean)
Cleans up resources from given lifecycle beans.
|
void |
GridResourceProcessor.cleanup(Service svc)
Cleans up resources from given service.
|
void |
GridResourceProcessor.cleanupGeneric(Object obj) |
void |
GridResourceProcessor.inject(GridDeployment dep,
Class<?> taskCls,
ComputeJob job,
ComputeTaskSession ses,
GridJobContextImpl jobCtx)
Injects held resources into given
job. |
void |
GridResourceProcessor.inject(GridDeployment dep,
Class<?> depCls,
Object target)
Injects resources into generic class.
|
void |
GridResourceProcessor.inject(GridDeployment dep,
ComputeTask<?,?> task,
GridTaskSessionImpl ses,
ComputeLoadBalancer balancer,
ComputeTaskContinuousMapper mapper)
Injects held resources into given grid task.
|
void |
GridResourceProxiedIgniteInjector.inject(org.apache.ignite.internal.processors.resource.GridResourceField field,
Object target,
Class<?> depCls,
GridDeployment dep)
Injects resource into field.
|
void |
GridResourceLoggerInjector.inject(org.apache.ignite.internal.processors.resource.GridResourceField field,
Object target,
Class<?> depCls,
GridDeployment dep)
Injects resource into field.
|
void |
GridResourceJobContextInjector.inject(org.apache.ignite.internal.processors.resource.GridResourceField field,
Object target,
Class<?> depCls,
GridDeployment dep)
Injects resource into field.
|
void |
GridResourceServiceInjector.inject(org.apache.ignite.internal.processors.resource.GridResourceField field,
Object target,
Class<?> depCls,
GridDeployment dep)
Injects resource into field.
|
void |
GridResourceProxiedIgniteInjector.inject(org.apache.ignite.internal.processors.resource.GridResourceMethod mtd,
Object target,
Class<?> depCls,
GridDeployment dep)
Injects resource with a setter method.
|
void |
GridResourceLoggerInjector.inject(org.apache.ignite.internal.processors.resource.GridResourceMethod mtd,
Object target,
Class<?> depCls,
GridDeployment dep)
Injects resource with a setter method.
|
void |
GridResourceJobContextInjector.inject(org.apache.ignite.internal.processors.resource.GridResourceMethod mtd,
Object target,
Class<?> depCls,
GridDeployment dep)
Injects resource with a setter method.
|
void |
GridResourceServiceInjector.inject(org.apache.ignite.internal.processors.resource.GridResourceMethod mtd,
Object target,
Class<?> depCls,
GridDeployment dep)
Injects resource with a setter method.
|
void |
GridResourceProcessor.inject(IgniteSpi spi)
Injects held resources into given SPI implementation.
|
void |
GridResourceProcessor.inject(LifecycleBean lifecycleBean)
Injects held resources into given lifecycle bean.
|
void |
GridResourceProcessor.inject(Object obj,
GridResourceIoc.AnnotationSet annSet,
Object... params) |
void |
GridResourceProcessor.inject(Service svc)
Injects resources into service.
|
void |
GridResourceProcessor.injectBasicResource(Object target,
Class<? extends Annotation> annCls,
Object rsrc)
This method is declared public as it is used from tests as well.
|
void |
GridResourceProcessor.injectCacheName(Object obj,
String cacheName)
Injects cache name into given object.
|
void |
GridResourceProcessor.injectGeneric(Object obj) |
boolean |
GridResourceProcessor.injectStoreSession(Object obj,
CacheStoreSession ses)
Injects cache store session into given object.
|
void |
GridResourceProcessor.invokeAnnotated(GridDeployment dep,
Object target,
Class<? extends Annotation> annCls) |
void |
GridResourceProcessor.onKernalStart(boolean active)
Callback that notifies that kernal has successfully started,
including all managers and processors.
|
void |
GridResourceProcessor.start()
Starts grid component.
|
Object |
GridSpringResourceContext.unwrapTarget(Object target)
Return original object if AOP used with proxy objects.
|
| Modifier and Type | Method and Description |
|---|---|
GridRestResponse |
GridRestProtocolHandler.handle(GridRestRequest req) |
void |
GridRestProcessor.onKernalStart(boolean active)
Callback that notifies that kernal has successfully started,
including all managers and processors.
|
void |
GridRestProcessor.start()
Starts grid component.
|
void |
GridRestProtocol.start(GridRestProtocolHandler hnd)
Starts protocol.
|
| Modifier and Type | Method and Description |
|---|---|
protected IgniteInternalCache<Object,Object> |
GridCacheCommandHandler.localCache(String cacheName) |
| Modifier and Type | Method and Description |
|---|---|
abstract GridRestRequest |
GridRedisRestCommandHandler.asRestRequest(GridRedisMessage msg)
Converts
GridRedisMessage to GridRestRequest. |
| Modifier and Type | Class and Description |
|---|---|
class |
GridRedisGenericException
Generic Redis protocol exception.
|
class |
GridRedisTypeException
Exception on operation on the wrong data type.
|
| Modifier and Type | Method and Description |
|---|---|
GridRestRequest |
GridRedisDelCommandHandler.asRestRequest(GridRedisMessage msg)
Converts
GridRedisMessage to GridRestRequest. |
GridRestRequest |
GridRedisExpireCommandHandler.asRestRequest(GridRedisMessage msg)
Converts
GridRedisMessage to GridRestRequest. |
GridRestRequest |
GridRedisExistsCommandHandler.asRestRequest(GridRedisMessage msg)
Converts
GridRedisMessage to GridRestRequest. |
| Modifier and Type | Method and Description |
|---|---|
GridRestRequest |
GridRedisFlushCommandHandler.asRestRequest(GridRedisMessage msg)
Converts
GridRedisMessage to GridRestRequest. |
GridRestRequest |
GridRedisDbSizeCommandHandler.asRestRequest(GridRedisMessage msg)
Converts
GridRedisMessage to GridRestRequest. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
GridRestProtocolAdapter.assertParameter(boolean cond,
String condDesc) |
| Modifier and Type | Method and Description |
|---|---|
@Nullable GridClientMessage |
GridTcpRestParser.decode(GridNioSession ses,
ByteBuffer buf)
This method is called when input bytes are available on the underlying network connection.
|
ByteBuffer |
GridTcpRestParser.encode(GridNioSession ses,
Object msg0)
This method is called whenever a message should be sent to the network connection
and network buffer is ready to be filled with bytes.
|
protected GridClientMessage |
GridTcpRestParser.parseClientMessage(GridNioSession ses,
GridTcpRestParser.ParserState state)
Parses
GridClientMessage from raw bytes. |
void |
GridTcpRestProtocol.start(GridRestProtocolHandler hnd)
Starts protocol.
|
| Modifier and Type | Method and Description |
|---|---|
static GridRedisMessage |
GridRedisProtocolParser.readArray(ByteBuffer buf)
Reads an array into
GridRedisMessage. |
static String |
GridRedisProtocolParser.readBulkStr(ByteBuffer buf)
Reads a bulk string.
|
| Modifier and Type | Method and Description |
|---|---|
SecurityContext |
IgniteSecurityProcessor.authenticate(AuthenticationContext ctx)
Delegates call to
GridSecurityProcessor.authenticate(AuthenticationContext) |
SecurityContext |
IgniteSecurity.authenticate(AuthenticationContext ctx)
Delegates call to
GridSecurityProcessor.authenticate(AuthenticationContext) |
SecurityContext |
GridSecurityProcessor.authenticate(AuthenticationContext ctx)
Authenticates subject via underlying Authenticator.
|
SecuritySubject |
IgniteSecurityProcessor.authenticatedSubject(UUID subjId)
Delegates call to
GridSecurityProcessor.authenticatedSubject(UUID) |
SecuritySubject |
IgniteSecurity.authenticatedSubject(UUID subjId)
Delegates call to
GridSecurityProcessor.authenticatedSubject(UUID) |
SecuritySubject |
GridSecurityProcessor.authenticatedSubject(UUID subjId)
Gets authenticated node subject.
|
Collection<SecuritySubject> |
IgniteSecurityProcessor.authenticatedSubjects()
Delegates call to
GridSecurityProcessor.authenticatedSubjects() |
Collection<SecuritySubject> |
IgniteSecurity.authenticatedSubjects()
Delegates call to
GridSecurityProcessor.authenticatedSubjects() |
Collection<SecuritySubject> |
GridSecurityProcessor.authenticatedSubjects()
Gets collection of authenticated nodes.
|
SecurityContext |
IgniteSecurityProcessor.authenticateNode(ClusterNode node,
SecurityCredentials cred)
|
SecurityContext |
IgniteSecurity.authenticateNode(ClusterNode node,
SecurityCredentials cred)
|
SecurityContext |
GridSecurityProcessor.authenticateNode(ClusterNode node,
SecurityCredentials cred)
Authenticates grid node with it's attributes via underlying Authenticator.
|
void |
IgniteSecurityProcessor.onDisconnected(IgniteFuture<?> reconnectFut)
Client disconnected callback.
|
void |
IgniteSecurityProcessor.onKernalStart(boolean active)
Callback that notifies that kernal has successfully started,
including all managers and processors.
|
@Nullable IgniteInternalFuture<?> |
IgniteSecurityProcessor.onReconnected(boolean clusterRestarted)
Client reconnected callback.
|
void |
IgniteSecurityProcessor.start()
Starts grid component.
|
void |
IgniteSecurityProcessor.stop(boolean cancel)
Stops grid component.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GridServiceNotFoundException
Exception thrown if service is not found.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridServiceProcessor.onActivate(GridKernalContext kctx)
Deprecated.
Called when cluster performing activation.
|
void |
GridServiceProcessor.onContinuousProcessorStarted(GridKernalContext ctx)
Deprecated.
|
void |
GridServiceProcessor.onDisconnected(IgniteFuture<?> reconnectFut)
Deprecated.
Client disconnected callback.
|
void |
GridServiceProcessor.onKernalStart(boolean active)
Deprecated.
Callback that notifies that kernal has successfully started,
including all managers and processors.
|
void |
IgniteServiceProcessor.onKernalStart(boolean active)
Callback that notifies that kernal has successfully started,
including all managers and processors.
|
IgniteInternalFuture<?> |
IgniteServiceProcessor.onReconnected(boolean active)
Client reconnected callback.
|
abstract Map<UUID,Integer> |
ServiceProcessorAdapter.serviceTopology(String name,
long timeout) |
Map<UUID,Integer> |
GridServiceProcessor.serviceTopology(String name,
long timeout)
Deprecated.
|
Map<UUID,Integer> |
IgniteServiceProcessor.serviceTopology(String name,
long timeout) |
void |
GridServiceProcessor.start()
Deprecated.
Starts grid component.
|
void |
IgniteServiceProcessor.start()
Starts grid component.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridTaskSessionProcessor.start()
Starts session processor.
|
void |
GridTaskSessionProcessor.stop(boolean cancel)
Stops session processor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridTaskProcessor.onActivate(GridKernalContext kctx)
Called when cluster performing activation.
|
void |
GridTaskProcessor.onDisconnected(IgniteFuture<?> reconnectFut)
Client disconnected callback.
|
void |
GridTaskProcessor.onKernalStart(boolean active)
Callback that notifies that kernal has successfully started,
including all managers and processors.
|
void |
GridTaskProcessor.setAttributes(GridTaskSessionImpl ses,
Map<?,?> attrs) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridTimeoutProcessor.waitAsync(IgniteInternalFuture<?> fut,
long timeout,
IgniteBiInClosure<IgniteCheckedException,Boolean> clo)
Wait for a future (listen with timeout).
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridTimeoutProcessor.stop(boolean cancel)
Stops grid component.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Integer> |
PartitionCompositeNode.apply(PartitionClientContext cliCtx,
Object... args)
Get partitions.
|
Collection<Integer> |
PartitionGroupNode.apply(PartitionClientContext ctx,
Object... args)
Get partitions.
|
Collection<Integer> |
PartitionNode.apply(@Nullable PartitionClientContext cliCtx,
Object... args)
Get partitions.
|
Collection<Integer> |
PartitionSingleNode.apply(PartitionClientContext cliCtx,
Object... args)
Get partitions.
|
Integer |
PartitionParameterNode.applySingle(PartitionClientContext cliCtx,
Object... args)
Apply arguments and get single partition.
|
abstract Integer |
PartitionSingleNode.applySingle(@Nullable PartitionClientContext cliCtx,
Object... args)
Apply arguments and get single partition.
|
int |
PartitionResolver.partition(Object arg,
int dataType,
String cacheName)
Resolve partition.
|
| Modifier and Type | Class and Description |
|---|---|
class |
IgniteTxAlreadyCompletedCheckedException
Exception thrown whenever Mvcc transaction has been finished before operation finished.
|
class |
IgniteTxDuplicateKeyCheckedException
Exception thrown whenever transaction tries to inserts entry with same mvcc version more than once.
|
class |
IgniteTxHeuristicCheckedException
Exception thrown whenever grid transaction enters an unknown state.
|
class |
IgniteTxOptimisticCheckedException
Exception thrown whenever grid transactions fail optimistically.
|
class |
IgniteTxRollbackCheckedException
Exception thrown whenever grid transactions has been automatically rolled back.
|
class |
IgniteTxSerializationCheckedException
Exception thrown whenever transaction can't be serialized due to write conflict.
|
class |
IgniteTxTimeoutCheckedException
Exception thrown whenever grid transactions time out.
|
class |
IgniteTxUnexpectedStateCheckedException
Exception thrown whenever mvcc transaction enters an unknown state.
|
class |
TransactionCheckedException
Internal transaction exceptions base.
|
| Modifier and Type | Method and Description |
|---|---|
static IgniteCheckedException |
IgniteUtils.cast(Throwable t)
Casts the passed
Throwable t to IgniteCheckedException. |
static IgniteCheckedException |
IgniteUtils.exceptionWithSuppressed(String msg,
@Nullable Collection<Throwable> suppressed)
Creates
IgniteCheckedException with the collection of suppressed exceptions. |
| Modifier and Type | Method and Description |
|---|---|
static C1<IgniteCheckedException,IgniteException> |
IgniteUtils.getExceptionConverter(Class<? extends IgniteCheckedException> clazz)
Gets IgniteClosure for an IgniteCheckedException class.
|
| Modifier and Type | Method and Description |
|---|---|
static IgniteException |
IgniteUtils.convertException(IgniteCheckedException e) |
static Exception |
IgniteUtils.convertExceptionNoWrap(IgniteCheckedException e)
Converts exception, but unlike
IgniteUtils.convertException(IgniteCheckedException)
does not wrap passed in exception if none suitable converter found. |
| Modifier and Type | Method and Description |
|---|---|
static C1<IgniteCheckedException,IgniteException> |
IgniteUtils.getExceptionConverter(Class<? extends IgniteCheckedException> clazz)
Gets IgniteClosure for an IgniteCheckedException class.
|
| Modifier and Type | Method and Description |
|---|---|
T |
GridCircularBuffer.add(T t,
@Nullable IgniteInClosureX<T> c) |
static IgniteBiTuple<Object,Object> |
IgniteUtils.addLog4jNoOpLogger()
Adds no-op logger to remove no-appender warning.
|
void |
IgniteTree.InvokeClosure.call(T row) |
void |
GridEmptyCloseableIterator.close()
Closes the iterator and frees all the resources held by the iterator.
|
void |
GridWeakIterator.close()
Closes iterator.
|
void |
GridCloseableIteratorAdapterEx.close()
Closes the iterator and frees all the resources held by the iterator.
|
void |
GridCloseableIteratorAdapter.close()
Closes the iterator and frees all the resources held by the iterator.
|
static byte[] |
IgniteUtils.decodeHex(char[] data)
Converts an array of characters representing hexidecimal values into an
array of bytes of those same values.
|
static String |
IgniteUtils.defaultWorkDirectory()
Get default work directory.
|
static byte |
IgniteUtils.directProtocolVersion(GridKernalContext ctx,
UUID nodeId)
Defines which protocol version to use for
communication with the provided node.
|
static long |
IgniteUtils.dirSize(Path path)
Will calculate the size of a directory.
|
static <T,R> Collection<R> |
IgniteUtils.doInParallel(ExecutorService executorSvc,
Collection<T> srcDatas,
IgniteThrowableFunction<T,R> operation)
Execute operation on data in parallel.
|
static <T,R> Collection<R> |
IgniteUtils.doInParallel(int parallelismLvl,
ExecutorService executorSvc,
Collection<T> srcDatas,
IgniteThrowableFunction<T,R> operation)
Execute operation on data in parallel.
|
static <T,R> Collection<R> |
IgniteUtils.doInParallelUninterruptibly(int parallelismLvl,
ExecutorService executorSvc,
Collection<T> srcDatas,
IgniteThrowableFunction<T,R> operation)
Execute operation on data in parallel uninterruptibly.
|
static void |
IgniteUtils.ensureDirectory(File dir,
String msg,
IgniteLogger log)
Checks if the given directory exists and attempts to create one if not.
|
static void |
IgniteUtils.ensureDirectory(Path dir,
String msg,
IgniteLogger log)
Checks if the given directory exists and attempts to create one if not.
|
static <T> T |
IgniteUtils.field(Class<?> cls,
String fieldName)
Gets field value.
|
GridCursor<T> |
IgniteTree.find(L lower,
L upper)
Returns a cursor from lower to upper bounds inclusive.
|
GridCursor<T> |
IgniteTree.find(L lower,
L upper,
Object x)
Returns a cursor from lower to upper bounds inclusive.
|
T |
IgniteTree.findFirst()
Returns a value mapped to the lowest key, or
null if tree is empty |
T |
IgniteTree.findLast()
Returns a value mapped to the greatest key, or
null if tree is empty |
T |
IgniteTree.findOne(L key)
Returns the value to which the specified key is mapped, or
null if this tree contains no mapping for the
key. |
@Nullable Object |
GridReflectionCache.firstFieldValue(Object o)
Gets field value for object.
|
@Nullable Object |
GridReflectionCache.firstMethodValue(Object o)
Gets method return value for object.
|
static @Nullable Constructor<?> |
IgniteUtils.forceEmptyConstructor(Class<?> cls)
Gets empty constructor for class even if the class does not have empty constructor
declared.
|
static <T> T |
IgniteUtils.forceNewInstance(Class<?> cls)
Creates new instance of a class even if it does not have public constructor.
|
V |
GridCursorIteratorWrapper.get()
Gets element at current position.
|
static <T> T |
IgniteUtils.get(Future<T> fut)
Gets result from the given future with right exception handling.
|
boolean |
GridCloseableIteratorAdapterEx.hasNextX()
This method is the same as
Iterator.hasNext(), but allows for failure
with exception. |
boolean |
GridCloseableIteratorAdapter.hasNextX()
This method is the same as
Iterator.hasNext(), but allows for failure
with exception. |
T |
GridAtomicInitializer.init(Callable<T> c)
Executes initialization operation only once.
|
static <T> T |
IgniteUtils.invoke(@Nullable Class<?> cls,
@Nullable Object obj,
String mtdName,
Class[] paramTypes,
Object... params)
Invokes method.
|
static <T> T |
IgniteUtils.invoke(@Nullable Class<?> cls,
@Nullable Object obj,
String mtdName,
Object... params)
Invokes method.
|
void |
IgniteTree.invoke(L key,
Object x,
IgniteTree.InvokeClosure<T> c) |
static void |
IgniteStopwatch.logTime(IgniteLogger log,
String operationName,
IgniteThrowableRunner operation)
Execution given operation and calculation it time.
|
static byte[] |
IgniteUtils.marshal(GridCacheSharedContext ctx,
Object obj)
Marshals object to byte array.
|
static byte[] |
IgniteUtils.marshal(GridKernalContext ctx,
Object obj)
Marshals object to byte array.
|
static byte[] |
IgniteUtils.marshal(Marshaller marsh,
Object obj)
Marshals object to byte array.
|
static void |
IgniteUtils.marshal(Marshaller marsh,
@Nullable Object obj,
OutputStream out)
Marshals object to byte array.
|
static <T> T |
IgniteUtils.newInstance(Class<T> cls)
Creates new instance of a class only if it has an empty constructor (can be non-public).
|
static <T> T |
IgniteUtils.newInstance(String cls)
Creates new instance of a class only if it has an empty constructor (can be non-public).
|
boolean |
GridCursorIteratorWrapper.next()
Attempt to move cursor position forward.
|
T |
GridCloseableIteratorAdapterEx.nextX()
This method is the same as
Iterator.next(), but allows for failure
with exception. |
T |
GridCloseableIteratorAdapter.nextX()
This method is the same as
Iterator.next(), but allows for failure
with exception. |
protected void |
GridSpiCloseableIteratorWrapper.onClose()
Invoked on iterator close.
|
protected void |
GridCloseableIteratorAdapterEx.onClose()
Invoked on iterator close.
|
protected void |
GridCloseableIteratorAdapter.onClose()
Invoked on iterator close.
|
protected boolean |
GridSpiCloseableIteratorWrapper.onHasNext() |
protected abstract boolean |
GridCloseableIteratorAdapterEx.onHasNext() |
protected abstract boolean |
GridCloseableIteratorAdapter.onHasNext() |
protected T |
GridSpiCloseableIteratorWrapper.onNext() |
protected abstract T |
GridCloseableIteratorAdapterEx.onNext() |
protected abstract T |
GridCloseableIteratorAdapter.onNext() |
protected void |
GridSpiCloseableIteratorWrapper.onRemove()
Called on remove from iterator.
|
protected void |
GridCloseableIteratorAdapterEx.onRemove()
Called on remove from iterator.
|
protected void |
GridCloseableIteratorAdapter.onRemove()
Called on remove from iterator.
|
static HostAndPortRange |
HostAndPortRange.parse(String addrStr,
int dfltPortFrom,
int dfltPortTo,
String errMsgPrefix)
Parse string into host and port pair.
|
void |
InitializationProtector.protect(Object protectedKey,
IgniteThrowableRunner initializationCode)
It method allows to avoid simultaneous initialization from various threads.
|
<T> T |
InitializationProtector.protect(Object protectedKey,
Supplier<T> initializedVal,
IgniteThrowableRunner initializationCode) |
T |
IgniteTree.put(T val)
Put value in this tree.
|
T |
IgniteTree.remove(L key)
Removes the mapping for a key from this tree if it is present.
|
static void |
IgniteUtils.removeLog4jNoOpLogger(IgniteBiTuple<Object,Object> t)
Removes previously added no-op logger via method
IgniteUtils.addLog4jNoOpLogger(). |
void |
GridCloseableIteratorAdapterEx.removeX()
This method is the same as
Iterator.remove(), but allows for failure
with exception. |
void |
GridCloseableIteratorAdapter.removeX()
This method is the same as
Iterator.remove(), but allows for failure
with exception. |
static URL |
IgniteUtils.resolveSpringUrl(String springCfgPath)
Resolve Spring configuration URL.
|
static File |
IgniteUtils.resolveWorkDirectory(String workDir,
String path,
boolean delIfExist)
Resolves work directory.
|
static Path |
IgniteUtils.searchFileRecursively(Path path,
@NotNull String name) |
long |
IgniteTree.size()
Returns the number of elements in this tree.
|
static void |
IgniteUtils.startLifecycleAware(Iterable<?> objs)
For each object provided by the given
Iterable checks if it implements
LifecycleAware interface and executes LifecycleAware.start() method. |
static <T> T |
IgniteUtils.staticField(Class<?> cls,
String fieldName)
Gets static field value.
|
static int |
IgniteUtils.toDigit(char ch,
int idx)
Converts a hexadecimal character to an integer.
|
static Collection<InetAddress> |
IgniteUtils.toInetAddresses(ClusterNode node)
Returns tha list of resolved inet addresses.
|
static Collection<InetAddress> |
IgniteUtils.toInetAddresses(Collection<String> addrs,
Collection<String> hostNames)
Returns tha list of resolved inet addresses.
|
static <T> T |
IgniteUtils.unmarshal(GridCacheSharedContext ctx,
byte[] arr,
@Nullable ClassLoader clsLdr)
Unmarshals object from the input stream using given class loader.
|
static <T> T |
IgniteUtils.unmarshal(GridKernalContext ctx,
byte[] arr,
@Nullable ClassLoader clsLdr)
Unmarshals object from the input stream using given class loader.
|
static <T> T |
IgniteUtils.unmarshal(Marshaller marsh,
byte[] arr,
@Nullable ClassLoader clsLdr)
Unmarshals object from the input stream using given class loader.
|
static <T> T |
IgniteUtils.unmarshal(Marshaller marsh,
InputStream in,
@Nullable ClassLoader clsLdr)
Unmarshals object from the input stream using given class loader.
|
static <T> T |
IgniteUtils.unmarshalZip(Marshaller marsh,
byte[] zipBytes,
@Nullable ClassLoader clsLdr) |
static byte[] |
IgniteUtils.unzip(byte[] zipBytes) |
static String |
IgniteUtils.workDirectory(@Nullable String userWorkDir,
@Nullable String userIgniteHome)
Get work directory for the given user-provided work directory and Ignite home.
|
static <R> R |
IgniteUtils.wrapThreadLoader(ClassLoader ldr,
Callable<R> c)
Sets thread context class loader to the given loader, executes the closure, and then
resets thread context class loader to its initial value.
|
static byte[] |
IgniteUtils.zip(@Nullable byte[] bytes)
Zip binary payload using default compression.
|
static byte[] |
IgniteUtils.zip(@Nullable byte[] bytes,
int compressionLevel) |
| Modifier and Type | Method and Description |
|---|---|
protected RuntimeException |
IgniteFutureImpl.convertException(IgniteCheckedException e)
Convert internal exception to public exception.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridFutureAdapter.cancel()
Default no-op implementation that always returns
false. |
boolean |
GridCompoundFuture.cancel()
Default no-op implementation that always returns
false. |
boolean |
GridEmbeddedFuture.cancel()
Default no-op implementation that always returns
false. |
T |
GridFinishedFuture.get()
Synchronously waits for completion of the computation and
returns computation result.
|
R |
GridFutureAdapter.get()
Synchronously waits for completion of the computation and
returns computation result.
|
T |
GridFinishedFuture.get(long timeout)
Synchronously waits for completion of the computation for
up to the timeout specified and returns computation result.
|
R |
GridFutureAdapter.get(long timeout)
Synchronously waits for completion of the computation for
up to the timeout specified and returns computation result.
|
T |
GridFinishedFuture.get(long timeout,
TimeUnit unit)
Synchronously waits for completion of the computation for
up to the timeout specified and returns computation result.
|
R |
GridFutureAdapter.get(long timeout,
TimeUnit unit)
Synchronously waits for completion of the computation for
up to the timeout specified and returns computation result.
|
T |
GridFinishedFuture.getUninterruptibly()
Synchronously waits for completion of the computation and returns computation result ignoring interrupts.
|
R |
GridFutureAdapter.getUninterruptibly()
Synchronously waits for completion of the computation and returns computation result ignoring interrupts.
|
| Modifier and Type | Method and Description |
|---|---|
GridifyRangeArgument |
GridifyArgumentBuilder.createTaskArgument(GridifyRangeArgument arg,
Collection<?> input)
Create
GridifyRangeArgument for task. |
| Modifier and Type | Class and Description |
|---|---|
class |
IpcEndpointBindException
Represents exception occurred during IPC endpoint binding.
|
| Modifier and Type | Method and Description |
|---|---|
IpcEndpoint |
IpcServerEndpoint.accept()
Accepts client IPC connection.
|
static IpcEndpoint |
IpcEndpointFactory.connectEndpoint(String endpointAddr,
IgniteLogger log)
Connects to open server IPC endpoint.
|
InputStream |
IpcEndpoint.inputStream()
Gets input stream associated with this IPC endpoint.
|
OutputStream |
IpcEndpoint.outputStream()
Gets output stream associated with this IPC endpoint.
|
void |
IpcServerEndpoint.start()
Starts configured endpoint implementation.
|
| Modifier and Type | Method and Description |
|---|---|
IpcEndpoint |
IpcServerTcpEndpoint.accept()
Accepts client IPC connection.
|
InputStream |
IpcClientTcpEndpoint.inputStream()
Gets input stream associated with this IPC endpoint.
|
OutputStream |
IpcClientTcpEndpoint.outputStream()
Gets output stream associated with this IPC endpoint.
|
void |
IpcServerTcpEndpoint.setupConfiguration(Map<String,String> endpointCfg)
Sets configuration properties from the map.
|
void |
IpcServerTcpEndpoint.start()
Starts configured endpoint implementation.
|
| Constructor and Description |
|---|
IpcClientTcpEndpoint(String host,
int port)
Creates and connects client IPC endpoint.
|
| Modifier and Type | Class and Description |
|---|---|
class |
IpcOutOfSystemResourcesException
Thrown when IPC runs out of system resources (for example, no more free shared memory is
available in operating system).
|
class |
IpcSharedMemoryOperationTimedoutException
Thrown when IPC operation (such as
Object.wait(long))
has timed out. |
| Modifier and Type | Method and Description |
|---|---|
IpcEndpoint |
IpcSharedMemoryServerEndpoint.accept()
Accepts client IPC connection.
|
static void |
IpcSharedMemoryNativeLoader.load(IgniteLogger log) |
int |
IpcSharedMemorySpace.read(byte[] buf,
int off,
int len,
long timeout)
Blocks until at least 1 byte is read.
|
int |
IpcSharedMemorySpace.read(ByteBuffer buf,
int off,
int len,
long timeout)
Blocks until at least 1 byte is read.
|
void |
IpcSharedMemoryServerEndpoint.setupConfiguration(Map<String,String> endpointCfg)
Sets configuration properties from the map.
|
void |
IpcSharedMemoryServerEndpoint.start()
Starts configured endpoint implementation.
|
int |
IpcSharedMemorySpace.unreadCount() |
void |
IpcSharedMemorySpace.write(byte[] buf,
int off,
int len,
long timeout) |
void |
IpcSharedMemorySpace.write(ByteBuffer buf,
int off,
int len,
long timeout) |
| Constructor and Description |
|---|
IpcSharedMemoryClientEndpoint(int port,
IgniteLogger parent)
Creates and connects client IPC endpoint and starts background checker thread to avoid deadlocks on other party
crash.
|
IpcSharedMemoryClientEndpoint(int port,
int timeout,
IgniteLogger parent)
Creates and connects client IPC endpoint and starts background checker thread to avoid deadlocks on other party
crash.
|
IpcSharedMemorySpace(String tokFileName,
int writerPid,
int readerPid,
int size,
boolean reader,
IgniteLogger parent)
This will allocate system resources for the space.
|
IpcSharedMemorySpace(String tokFileName,
int writerPid,
int readerPid,
int size,
boolean reader,
int shmemId,
IgniteLogger parent)
This should be called in order to attach to already allocated system resources.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IgniteThrowableConsumer.accept(E e)
Performs this operation on the given argument.
|
R |
GridPlainOutClosure.apply() |
void |
GridPlainAbsClosure.apply()
Applies this closure.
|
R |
IgniteThrowableFunction.apply(E e)
Applies this function to the given argument.
|
R |
GridPlainClosure.apply(T arg) |
void |
GridPlainInClosure.apply(T arg) |
R |
GridPlainClosure2.apply(T1 arg1,
T2 arg2) |
abstract void |
GridAbsClosureX.applyx()
Closure body that can throw
IgniteCheckedException. |
abstract R |
IgniteReducer3X.applyx()
Reducer body that can throw
IgniteCheckedException. |
abstract T |
IgniteOutClosureX.applyx()
Out-closure body that can throw
IgniteCheckedException. |
abstract R |
IgniteReducer2X.applyx()
Reducer body that can throw
IgniteCheckedException. |
abstract boolean |
GridAbsPredicateX.applyx()
Predicate body that can throw
IgniteCheckedException. |
abstract R |
IgniteReducerX.applyx()
Reducer body that can throw
IgniteCheckedException. |
abstract R |
IgniteClosureX.applyx(E e)
Closure body that can throw
IgniteCheckedException. |
abstract boolean |
IgnitePredicateX.applyx(E1 e)
Predicate body that can throw
IgniteCheckedException. |
abstract boolean |
IgnitePredicate2X.applyx(E1 e1,
E2 e2)
Predicate body that can throw
IgniteCheckedException. |
abstract void |
IgniteInClosure2X.applyx(E1 e1,
E2 e2)
In-closure body that can throw
IgniteCheckedException. |
abstract R |
IgniteClosure2X.applyx(E1 e1,
E2 e2)
Closure body that can throw
IgniteCheckedException. |
abstract R |
GridClosure3X.applyx(E1 e1,
E2 e2,
E3 e3)
Closure body that can throw
IgniteCheckedException. |
abstract boolean |
GridPredicate3X.applyx(E1 e1,
E2 e2,
E3 e3)
Predicate body that can throw
IgniteCheckedException. |
abstract void |
GridInClosure3X.applyx(E1 e1,
E2 e2,
E3 e3)
In-closure body that can throw
IgniteCheckedException. |
abstract void |
IgniteInClosureX.applyx(T t)
In-closure body that can throw
IgniteCheckedException. |
static <T> void |
GridFunc.awaitAll(@Nullable Collection<IgniteInternalFuture<T>> futs)
Deprecated.
|
static <T> void |
GridFunc.awaitAll(long timeout,
@Nullable Collection<IgniteInternalFuture<T>> futs)
Deprecated.
|
static <T,R> R |
GridFunc.awaitAll(long timeout,
@Nullable IgniteReducer<T,R> rdc,
@Nullable Collection<IgniteInternalFuture<T>> futs)
Deprecated.
|
void |
GridCloseableIterator.close()
Closes the iterator and frees all the resources held by the iterator.
|
void |
GridFilteredClosableIterator.close() |
T |
GridCursor.get()
Gets element at current position.
|
E |
IgniteThrowableSupplier.get()
Gets a result.
|
boolean |
GridIterableAdapter.hasNextX()
This method is the same as
Iterator.hasNext(), but allows for failure
with exception. |
boolean |
GridIterator.hasNextX()
This method is the same as
Iterator.hasNext(), but allows for failure
with exception. |
boolean |
GridCursor.next()
Attempt to move cursor position forward.
|
T |
GridIterableAdapter.nextX()
This method is the same as
Iterator.next(), but allows for failure
with exception. |
T |
GridIterator.nextX()
This method is the same as
Iterator.next(), but allows for failure
with exception. |
protected boolean |
IgniteSingletonIterator.onHasNext() |
protected T |
IgniteSingletonIterator.onNext() |
void |
GridIterableAdapter.removeX()
This method is the same as
Iterator.remove(), but allows for failure
with exception. |
void |
GridIterator.removeX()
This method is the same as
Iterator.remove(), but allows for failure
with exception. |
void |
IgniteThrowableRunner.run()
Execute a body.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GridNioException
Nio specific exception.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridNioFilter.onExceptionCaught(GridNioSession ses,
IgniteCheckedException ex)
Invoked when exception is caught in filter processing.
|
void |
GridNioAsyncNotifyFilter.onExceptionCaught(GridNioSession ses,
IgniteCheckedException ex)
Invoked when exception is caught in filter processing.
|
void |
GridNioCodecFilter.onExceptionCaught(GridNioSession ses,
IgniteCheckedException ex)
Invoked when exception is caught in filter processing.
|
void |
GridConnectionBytesVerifyFilter.onExceptionCaught(GridNioSession ses,
IgniteCheckedException ex)
Invoked when exception is caught in filter processing.
|
void |
GridNioFilterChain.onExceptionCaught(GridNioSession ses,
IgniteCheckedException e)
Starts chain notification from head to tail.
|
void |
GridNioTracerFilter.onExceptionCaught(GridNioSession ses,
IgniteCheckedException ex)
Invoked when exception is caught in filter processing.
|
void |
GridNioFilter.proceedExceptionCaught(GridNioSession ses,
IgniteCheckedException e)
Forwards GridNioException event to the next logical filter in filter chain.
|
void |
GridNioFilterAdapter.proceedExceptionCaught(GridNioSession ses,
IgniteCheckedException e)
Forwards GridNioException event to the next logical filter in filter chain.
|
| Modifier and Type | Method and Description |
|---|---|
GridNioServer<T> |
GridNioServer.Builder.build()
Finishes building the instance.
|
byte[] |
GridDelimitedParser.decode(GridNioSession ses,
ByteBuffer buf)
This method is called when input bytes are available on the underlying network connection.
|
@Nullable Object |
GridNioParser.decode(GridNioSession ses,
ByteBuffer buf)
This method is called when input bytes are available on the underlying network connection.
|
byte[] |
GridBufferedParser.decode(GridNioSession ses,
ByteBuffer buf)
This method is called when input bytes are available on the underlying network connection.
|
@Nullable Object |
GridDirectParser.decode(GridNioSession ses,
ByteBuffer buf)
This method is called when input bytes are available on the underlying network connection.
|
void |
GridCommunicationClient.doHandshake(IgniteInClosure2X<InputStream,OutputStream> handshakeC)
Executes the given handshake closure on opened client passing underlying IO streams.
|
void |
GridShmemCommunicationClient.doHandshake(IgniteInClosure2X<InputStream,OutputStream> handshakeC)
Executes the given handshake closure on opened client passing underlying IO streams.
|
ByteBuffer |
GridDelimitedParser.encode(GridNioSession ses,
Object msg)
This method is called whenever a message should be sent to the network connection
and network buffer is ready to be filled with bytes.
|
ByteBuffer |
GridNioParser.encode(GridNioSession ses,
Object msg)
This method is called whenever a message should be sent to the network connection
and network buffer is ready to be filled with bytes.
|
ByteBuffer |
GridBufferedParser.encode(GridNioSession ses,
Object msg)
This method is called whenever a message should be sent to the network connection
and network buffer is ready to be filled with bytes.
|
ByteBuffer |
GridDirectParser.encode(GridNioSession ses,
Object msg)
This method is called whenever a message should be sent to the network connection
and network buffer is ready to be filled with bytes.
|
void |
GridNioFilter.onExceptionCaught(GridNioSession ses,
IgniteCheckedException ex)
Invoked when exception is caught in filter processing.
|
void |
GridNioAsyncNotifyFilter.onExceptionCaught(GridNioSession ses,
IgniteCheckedException ex)
Invoked when exception is caught in filter processing.
|
void |
GridNioCodecFilter.onExceptionCaught(GridNioSession ses,
IgniteCheckedException ex)
Invoked when exception is caught in filter processing.
|
void |
GridConnectionBytesVerifyFilter.onExceptionCaught(GridNioSession ses,
IgniteCheckedException ex)
Invoked when exception is caught in filter processing.
|
void |
GridNioTracerFilter.onExceptionCaught(GridNioSession ses,
IgniteCheckedException ex)
Invoked when exception is caught in filter processing.
|
void |
GridNioFilter.onMessageReceived(GridNioSession ses,
Object msg)
Invoked when a new messages received.
|
void |
GridNioAsyncNotifyFilter.onMessageReceived(GridNioSession ses,
Object msg)
Invoked when a new messages received.
|
void |
GridNioCodecFilter.onMessageReceived(GridNioSession ses,
Object msg)
Invoked when a new messages received.
|
void |
GridConnectionBytesVerifyFilter.onMessageReceived(GridNioSession ses,
Object msg)
Invoked when a new messages received.
|
void |
GridNioFilterChain.onMessageReceived(GridNioSession ses,
Object msg)
Starts chain notification from head to tail.
|
void |
GridNioTracerFilter.onMessageReceived(GridNioSession ses,
Object msg)
Invoked when a new messages received.
|
GridNioFuture<?> |
GridNioFilter.onPauseReads(GridNioSession ses)
Pauses reads for session.
|
GridNioFuture<?> |
GridNioFilterAdapter.onPauseReads(GridNioSession ses)
Pauses reads for session.
|
GridNioFuture<?> |
GridNioFilterChain.onPauseReads(GridNioSession ses)
Starts chain notification from tail to head.
|
GridNioFuture<?> |
GridNioFilter.onResumeReads(GridNioSession ses)
Resumes reads for session.
|
GridNioFuture<?> |
GridNioFilterAdapter.onResumeReads(GridNioSession ses)
Resumes reads for session.
|
GridNioFuture<?> |
GridNioFilterChain.onResumeReads(GridNioSession ses)
Starts chain notification from tail to head.
|
GridNioFuture<Boolean> |
GridNioFilter.onSessionClose(GridNioSession ses)
Invoked when a session close request is performed on session.
|
GridNioFuture<Boolean> |
GridNioAsyncNotifyFilter.onSessionClose(GridNioSession ses)
Invoked when a session close request is performed on session.
|
GridNioFuture<Boolean> |
GridNioCodecFilter.onSessionClose(GridNioSession ses)
Invoked when a session close request is performed on session.
|
GridNioFuture<Boolean> |
GridConnectionBytesVerifyFilter.onSessionClose(GridNioSession ses)
Invoked when a session close request is performed on session.
|
GridNioFuture<Boolean> |
GridNioFilterChain.onSessionClose(GridNioSession ses)
Starts chain notification from tail to head.
|
GridNioFuture<Boolean> |
GridNioTracerFilter.onSessionClose(GridNioSession ses)
Invoked when a session close request is performed on session.
|
void |
GridNioFilter.onSessionClosed(GridNioSession ses)
Invoked after session get closed.
|
void |
GridNioAsyncNotifyFilter.onSessionClosed(GridNioSession ses)
Invoked after session get closed.
|
void |
GridNioCodecFilter.onSessionClosed(GridNioSession ses)
Invoked after session get closed.
|
void |
GridConnectionBytesVerifyFilter.onSessionClosed(GridNioSession ses)
Invoked after session get closed.
|
void |
GridNioFilterChain.onSessionClosed(GridNioSession ses)
Starts chain notification from head to tail.
|
void |
GridNioTracerFilter.onSessionClosed(GridNioSession ses)
Invoked after session get closed.
|
void |
GridNioFilter.onSessionIdleTimeout(GridNioSession ses)
Called when session is idle for longer time that is
allowed by NIO server.
|
void |
GridNioAsyncNotifyFilter.onSessionIdleTimeout(GridNioSession ses)
Called when session is idle for longer time that is
allowed by NIO server.
|
void |
GridNioCodecFilter.onSessionIdleTimeout(GridNioSession ses)
Called when session is idle for longer time that is
allowed by NIO server.
|
void |
GridConnectionBytesVerifyFilter.onSessionIdleTimeout(GridNioSession ses)
Called when session is idle for longer time that is
allowed by NIO server.
|
void |
GridNioFilterChain.onSessionIdleTimeout(GridNioSession ses)
Called when session is idle for longer time that is
allowed by NIO server.
|
void |
GridNioTracerFilter.onSessionIdleTimeout(GridNioSession ses)
Called when session is idle for longer time that is
allowed by NIO server.
|
void |
GridNioFilter.onSessionOpened(GridNioSession ses)
Invoked when a new session was created.
|
void |
GridNioAsyncNotifyFilter.onSessionOpened(GridNioSession ses)
Invoked when a new session was created.
|
void |
GridNioCodecFilter.onSessionOpened(GridNioSession ses)
Invoked when a new session was created.
|
void |
GridConnectionBytesVerifyFilter.onSessionOpened(GridNioSession ses)
Invoked when a new session was created.
|
void |
GridNioFilterChain.onSessionOpened(GridNioSession ses)
Starts chain notification from head to tail.
|
void |
GridNioTracerFilter.onSessionOpened(GridNioSession ses)
Invoked when a new session was created.
|
GridNioFuture<?> |
GridNioFilter.onSessionWrite(GridNioSession ses,
Object msg,
boolean fut,
IgniteInClosure<IgniteException> ackC)
Invoked when a write request is performed on a session.
|
GridNioFuture<?> |
GridNioAsyncNotifyFilter.onSessionWrite(GridNioSession ses,
Object msg,
boolean fut,
IgniteInClosure<IgniteException> ackC)
Invoked when a write request is performed on a session.
|
GridNioFuture<?> |
GridNioCodecFilter.onSessionWrite(GridNioSession ses,
Object msg,
boolean fut,
IgniteInClosure<IgniteException> ackC)
Invoked when a write request is performed on a session.
|
GridNioFuture<?> |
GridConnectionBytesVerifyFilter.onSessionWrite(GridNioSession ses,
Object msg,
boolean fut,
IgniteInClosure<IgniteException> ackC)
Invoked when a write request is performed on a session.
|
GridNioFuture<?> |
GridNioFilterChain.onSessionWrite(GridNioSession ses,
Object msg,
boolean fut,
IgniteInClosure<IgniteException> ackC)
Starts chain notification from tail to head.
|
GridNioFuture<?> |
GridNioTracerFilter.onSessionWrite(GridNioSession ses,
Object msg,
boolean fut,
IgniteInClosure<IgniteException> ackC)
Invoked when a write request is performed on a session.
|
void |
GridNioFilter.onSessionWriteTimeout(GridNioSession ses)
Called when session has not empty write buffer that has not been fully
flushed during max timeout allowed by NIO server.
|
void |
GridNioAsyncNotifyFilter.onSessionWriteTimeout(GridNioSession ses)
Called when session has not empty write buffer that has not been fully
flushed during max timeout allowed by NIO server.
|
void |
GridNioCodecFilter.onSessionWriteTimeout(GridNioSession ses)
Called when session has not empty write buffer that has not been fully
flushed during max timeout allowed by NIO server.
|
void |
GridConnectionBytesVerifyFilter.onSessionWriteTimeout(GridNioSession ses)
Called when session has not empty write buffer that has not been fully
flushed during max timeout allowed by NIO server.
|
void |
GridNioFilterChain.onSessionWriteTimeout(GridNioSession ses)
Called when session has not empty write buffer that has not been fully
flushed during max timeout allowed by NIO server.
|
void |
GridNioTracerFilter.onSessionWriteTimeout(GridNioSession ses)
Called when session has not empty write buffer that has not been fully
flushed during max timeout allowed by NIO server.
|
void |
GridNioFilter.proceedExceptionCaught(GridNioSession ses,
IgniteCheckedException e)
Forwards GridNioException event to the next logical filter in filter chain.
|
void |
GridNioFilterAdapter.proceedExceptionCaught(GridNioSession ses,
IgniteCheckedException e)
Forwards GridNioException event to the next logical filter in filter chain.
|
void |
GridNioFilter.proceedMessageReceived(GridNioSession ses,
Object msg)
Forwards received message to the next logical filter in filter chain.
|
void |
GridNioFilterAdapter.proceedMessageReceived(GridNioSession ses,
Object msg)
Forwards received message to the next logical filter in filter chain.
|
GridNioFuture<?> |
GridNioFilter.proceedPauseReads(GridNioSession ses)
Pauses reads for session.
|
GridNioFuture<?> |
GridNioFilterAdapter.proceedPauseReads(GridNioSession ses)
Pauses reads for session.
|
GridNioFuture<?> |
GridNioFilter.proceedResumeReads(GridNioSession ses)
Resumes reads for session.
|
GridNioFuture<?> |
GridNioFilterAdapter.proceedResumeReads(GridNioSession ses)
Resumes reads for session.
|
GridNioFuture<Boolean> |
GridNioFilter.proceedSessionClose(GridNioSession ses)
Forwards session close request to the next logical filter in filter chain.
|
GridNioFuture<Boolean> |
GridNioFilterAdapter.proceedSessionClose(GridNioSession ses)
Forwards session close request to the next logical filter in filter chain.
|
void |
GridNioFilter.proceedSessionClosed(GridNioSession ses)
Forwards session closed event to the next logical filter in filter chain.
|
void |
GridNioFilterAdapter.proceedSessionClosed(GridNioSession ses)
Forwards session closed event to the next logical filter in filter chain.
|
void |
GridNioFilter.proceedSessionIdleTimeout(GridNioSession ses)
Forwards session idle notification to the next logical filter in filter chain.
|
void |
GridNioFilterAdapter.proceedSessionIdleTimeout(GridNioSession ses)
Forwards session idle notification to the next logical filter in filter chain.
|
void |
GridNioFilter.proceedSessionOpened(GridNioSession ses)
Forwards session opened event to the next logical filter in filter chain.
|
void |
GridNioFilterAdapter.proceedSessionOpened(GridNioSession ses)
Forwards session opened event to the next logical filter in filter chain.
|
GridNioFuture<?> |
GridNioFilter.proceedSessionWrite(GridNioSession ses,
Object msg,
boolean fut,
IgniteInClosure<IgniteException> ackC)
Forwards write request to the next logical filter in filter chain.
|
GridNioFuture<?> |
GridNioFilterAdapter.proceedSessionWrite(GridNioSession ses,
Object msg,
boolean fut,
IgniteInClosure<IgniteException> ackC)
Forwards write request to the next logical filter in filter chain.
|
void |
GridNioFilter.proceedSessionWriteTimeout(GridNioSession ses)
Forwards session write timeout notification to the next logical filter in filter chain.
|
void |
GridNioFilterAdapter.proceedSessionWriteTimeout(GridNioSession ses)
Forwards session write timeout notification to the next logical filter in filter chain.
|
@Nullable byte[] |
GridNioServerBuffer.read(ByteBuffer buf) |
MessageReader |
GridNioMessageReaderFactory.reader(GridNioSession ses,
MessageFactory msgFactory)
Creates new reader.
|
void |
GridCommunicationClient.sendMessage(byte[] data,
int len) |
void |
GridTcpNioCommunicationClient.sendMessage(byte[] data,
int len) |
void |
GridShmemCommunicationClient.sendMessage(byte[] data,
int len) |
void |
GridCommunicationClient.sendMessage(ByteBuffer data) |
void |
GridTcpNioCommunicationClient.sendMessage(ByteBuffer data) |
void |
GridShmemCommunicationClient.sendMessage(ByteBuffer data) |
boolean |
GridCommunicationClient.sendMessage(@Nullable UUID nodeId,
Message msg,
@Nullable IgniteInClosure<IgniteException> c) |
boolean |
GridTcpNioCommunicationClient.sendMessage(@Nullable UUID nodeId,
Message msg,
IgniteInClosure<IgniteException> c) |
boolean |
GridShmemCommunicationClient.sendMessage(UUID nodeId,
Message msg,
IgniteInClosure<IgniteException> c) |
void |
GridNioSession.sendNoFuture(Object msg,
@Nullable IgniteInClosure<IgniteException> ackC) |
void |
GridNioSessionImpl.sendNoFuture(Object msg,
IgniteInClosure<IgniteException> ackC) |
void |
GridNioServer.sendSystem(GridNioSession ses,
Message msg)
Adds message at the front of the queue without acquiring back pressure semaphore.
|
void |
GridNioServer.sendSystem(GridNioSession ses,
Message msg,
@Nullable IgniteInClosure<? super IgniteInternalFuture<?>> lsnr)
Adds message at the front of the queue without acquiring back pressure semaphore.
|
MessageWriter |
GridNioMessageWriterFactory.writer(GridNioSession ses)
Creates new writer.
|
| Constructor and Description |
|---|
GridShmemCommunicationClient(int connIdx,
MetricRegistry mreg,
int port,
long connTimeout,
IgniteLogger log,
MessageFormatter formatter) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridNioSslFilter.onExceptionCaught(GridNioSession ses,
IgniteCheckedException ex)
Invoked when exception is caught in filter processing.
|
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
BlockingSslHandler.decode(ByteBuffer buf)
Called by SSL filter when new message was received.
|
boolean |
BlockingSslHandler.handshake()
Performs handshake procedure with remote peer.
|
void |
GridNioSslFilter.onExceptionCaught(GridNioSession ses,
IgniteCheckedException ex)
Invoked when exception is caught in filter processing.
|
void |
GridNioSslFilter.onMessageReceived(GridNioSession ses,
Object msg)
Invoked when a new messages received.
|
GridNioFuture<Boolean> |
GridNioSslFilter.onSessionClose(GridNioSession ses)
Invoked when a session close request is performed on session.
|
void |
GridNioSslFilter.onSessionClosed(GridNioSession ses)
Invoked after session get closed.
|
void |
GridNioSslFilter.onSessionIdleTimeout(GridNioSession ses)
Called when session is idle for longer time that is
allowed by NIO server.
|
void |
GridNioSslFilter.onSessionOpened(GridNioSession ses)
Invoked when a new session was created.
|
GridNioFuture<?> |
GridNioSslFilter.onSessionWrite(GridNioSession ses,
Object msg,
boolean fut,
IgniteInClosure<IgniteException> ackC)
Invoked when a write request is performed on a session.
|
void |
GridNioSslFilter.onSessionWriteTimeout(GridNioSession ses)
Called when session has not empty write buffer that has not been fully
flushed during max timeout allowed by NIO server.
|
| Modifier and Type | Method and Description |
|---|---|
static Set<String> |
IgniteNodeStartUtils.expandHost(String addr)
Parses and expands range of IPs, if needed.
|
static IgniteBiTuple<Collection<Map<String,Object>>,Map<String,Object>> |
IgniteNodeStartUtils.parseFile(File file)
Parses INI file.
|
static Map<String,Collection<IgniteRemoteStartSpecification>> |
IgniteNodeStartUtils.specifications(Collection<Map<String,Object>> hosts,
@Nullable Map<String,Object> dflts)
Makes specifications.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
IgniteSpringHelper.loadBean(InputStream stream,
String beanName)
Loads bean instance by name.
|
<T> T |
IgniteSpringHelper.loadBean(URL url,
String beanName)
Loads bean instance by name.
|
<T> T |
IgniteSpringHelper.loadBeanFromAppContext(Object appContext,
String beanName)
Loads bean instance by name from application context.
|
Map<Class<?>,Object> |
IgniteSpringHelper.loadBeans(InputStream cfgStream,
Class<?>... beanClasses)
Loads bean instances that match the given types from given configuration input stream.
|
Map<Class<?>,Object> |
IgniteSpringHelper.loadBeans(URL cfgUrl,
Class<?>... beanClasses)
Loads bean instances that match the given types from given configuration file.
|
<T> IgniteBiTuple<Collection<T>,? extends GridSpringResourceContext> |
IgniteSpringHelper.loadConfigurations(InputStream cfgStream,
Class<T> cls,
String... excludedProps)
Loads all configurations with given type specified within given configuration input stream.
|
IgniteBiTuple<Collection<IgniteConfiguration>,? extends GridSpringResourceContext> |
IgniteSpringHelper.loadConfigurations(InputStream cfgStream,
String... excludedProps)
Loads all grid configurations specified within given configuration input stream.
|
<T> IgniteBiTuple<Collection<T>,? extends GridSpringResourceContext> |
IgniteSpringHelper.loadConfigurations(URL cfgUrl,
Class<T> cls,
String... excludedProps)
Loads all configurations with given type specified within given configuration file.
|
IgniteBiTuple<Collection<IgniteConfiguration>,? extends GridSpringResourceContext> |
IgniteSpringHelper.loadConfigurations(URL cfgUrl,
String... excludedProps)
Loads all grid configurations specified within given configuration file.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
X.resolveIgniteHome()
Tries to resolve Ignite installation home folder.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridWorkerFuture.cancel()
Default no-op implementation that always returns
false. |
void |
GridWorkerPool.execute(GridWorker w)
Schedules runnable task for execution.
|
| Constructor and Description |
|---|
VisorCache(IgniteEx ignite,
GridCacheAdapter ca,
boolean collectMetrics)
Create data transfer object for given cache.
|
| Modifier and Type | Method and Description |
|---|---|
static File |
JavaLoggerFileHandler.logDirectory(String workDir)
Resolves logging directory.
|
void |
JavaLoggerFileHandler.nodeId(UUID nodeId,
String workDir)
Sets Node id and instantiates
FileHandler delegate. |
| Modifier and Type | Method and Description |
|---|---|
static IgnitePredicate<String> |
MarshallerUtils.classNameFilter(ClassLoader clsLdr)
Returns class name filter for marshaller.
|
Class |
MarshallerContext.getClass(int typeId,
ClassLoader ldr)
Gets class for provided type ID.
|
String |
MarshallerContext.getClassName(byte platformId,
int typeId)
Gets class name for provided (platformId, typeId) pair.
|
byte[] |
Marshaller.marshal(@Nullable Object obj)
Marshals object to byte array.
|
byte[] |
AbstractNodeNameAwareMarshaller.marshal(@Nullable Object obj)
Marshals object to byte array.
|
void |
Marshaller.marshal(@Nullable Object obj,
OutputStream out)
Marshals object to the output stream.
|
void |
AbstractNodeNameAwareMarshaller.marshal(@Nullable Object obj,
OutputStream out)
Marshals object to the output stream.
|
protected abstract byte[] |
AbstractNodeNameAwareMarshaller.marshal0(@Nullable Object obj)
Marshals object to byte array.
|
protected abstract void |
AbstractNodeNameAwareMarshaller.marshal0(@Nullable Object obj,
OutputStream out)
Marshals object to the output stream.
|
boolean |
MarshallerContext.registerClassName(byte platformId,
int typeId,
String clsName)
Deprecated.
Use
MarshallerContext.registerClassName(byte, int, java.lang.String, boolean) instead.
This particular method will be deleted in future releases. |
default boolean |
MarshallerContext.registerClassName(byte platformId,
int typeId,
String clsName,
boolean failIfUnregistered)
Method to register typeId->class name mapping in marshaller context cluster-wide.
|
boolean |
MarshallerContext.registerClassNameLocally(byte platformId,
int typeId,
String clsName)
Method to register typeId->class name mapping in marshaller context on local node only.
|
<T> T |
Marshaller.unmarshal(byte[] arr,
@Nullable ClassLoader clsLdr)
Unmarshals object from byte array using given class loader.
|
<T> T |
AbstractNodeNameAwareMarshaller.unmarshal(byte[] arr,
@Nullable ClassLoader clsLdr)
Unmarshals object from byte array using given class loader.
|
<T> T |
Marshaller.unmarshal(InputStream in,
@Nullable ClassLoader clsLdr)
Unmarshals object from the input stream using given class loader.
|
<T> T |
AbstractNodeNameAwareMarshaller.unmarshal(InputStream in,
@Nullable ClassLoader clsLdr)
Unmarshals object from the input stream using given class loader.
|
protected abstract <T> T |
AbstractNodeNameAwareMarshaller.unmarshal0(byte[] arr,
@Nullable ClassLoader clsLdr)
Unmarshals object from byte array using given class loader.
|
protected abstract <T> T |
AbstractNodeNameAwareMarshaller.unmarshal0(InputStream in,
@Nullable ClassLoader clsLdr)
Unmarshals object from the input stream using given class loader.
|
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
JdkMarshaller.marshal0(@Nullable Object obj)
Marshals object to byte array.
|
protected void |
JdkMarshaller.marshal0(@Nullable Object obj,
OutputStream out)
Marshals object to the output stream.
|
protected <T> T |
JdkMarshaller.unmarshal0(byte[] arr,
@Nullable ClassLoader clsLdr)
Unmarshals object from byte array using given class loader.
|
protected <T> T |
JdkMarshaller.unmarshal0(InputStream in,
@Nullable ClassLoader clsLdr)
Unmarshals object from the input stream using given class loader.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PluginProvider.initExtensions(PluginContext ctx,
ExtensionRegistry registry)
Registers extensions.
|
void |
CachePluginProvider.onIgniteStart()
Callback that notifies that Ignite has successfully started,
including all internal components.
|
void |
PluginProvider.onIgniteStart()
Callback that notifies that Ignite has successfully started,
including all internal components.
|
void |
CachePluginProvider.start()
Starts grid component.
|
void |
PluginProvider.start(PluginContext ctx)
Starts grid component.
|
void |
PluginProvider.stop(boolean cancel)
Stops grid component.
|
void |
CachePluginProvider.validate()
Validates cache plugin configuration in process of cache creation.
|
void |
CachePluginProvider.validateRemote(CacheConfiguration locCfg,
CacheConfiguration rmtCfg,
ClusterNode rmtNode)
Checks that remote caches has configuration compatible with the local.
|
| Modifier and Type | Method and Description |
|---|---|
MessageReader |
MessageFormatter.reader(UUID rmtNodeId,
MessageFactory msgFactory)
Creates new message reader instance.
|
MessageWriter |
MessageFormatter.writer(UUID rmtNodeId)
Creates new message writer instance.
|
| Modifier and Type | Method and Description |
|---|---|
SecurityCredentials |
SecurityCredentialsBasicProvider.credentials()
Gets security credentials.
|
SecurityCredentials |
SecurityCredentialsProvider.credentials()
Gets security credentials.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
SegmentationResolver.isValidSegment()
Checks whether segment is valid.
|
| Modifier and Type | Class and Description |
|---|---|
class |
IgniteSpiOperationTimeoutException
Kind of exception that is used when failure detection timeout is enabled for
TcpDiscoverySpi or
TcpCommunicationSpi. |
| Modifier and Type | Method and Description |
|---|---|
void |
IgniteSpiCloseableIterator.close()
Closes the iterator and frees all the resources held by the iterator.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
TcpCommunicationSpi.processSessionCreationError(ClusterNode node,
Collection<InetSocketAddress> addrs,
IgniteCheckedException errs)
Process errors if TCP/IP
GridNioSession creation to remote node hasn't been performed. |
| Modifier and Type | Method and Description |
|---|---|
protected GridCommunicationClient |
TcpCommunicationSpi.createTcpClient(ClusterNode node,
int connIdx)
Establish TCP connection to remote node and returns client.
|
Collection<InetSocketAddress> |
TcpCommunicationSpi.nodeAddresses(ClusterNode node,
boolean filterReachableAddresses) |
protected void |
TcpCommunicationSpi.processSessionCreationError(ClusterNode node,
Collection<InetSocketAddress> addrs,
IgniteCheckedException errs)
Process errors if TCP/IP
GridNioSession creation to remote node hasn't been performed. |
| Modifier and Type | Class and Description |
|---|---|
class |
HandshakeException
Internal exception class for proper timeout handling.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ConnectionRequestor.request(ClusterNode node,
int connIdx)
Request opening of TCP connection from node
node with index connIdx. |
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
TcpDiscoverySpi.readMessage(Socket sock,
@Nullable InputStream in,
long timeout)
Reads message from the socket limiting read time.
|
protected void |
TcpDiscoverySpi.writeToSocket(ClusterNode node,
Socket sock,
OutputStream out,
TcpDiscoveryAbstractMessage msg,
long timeout) |
protected void |
TcpDiscoverySpi.writeToSocket(Socket sock,
OutputStream out,
TcpDiscoveryAbstractMessage msg,
long timeout)
Writes message to the socket.
|
protected void |
TcpDiscoverySpi.writeToSocket(Socket sock,
TcpDiscoveryAbstractMessage msg,
long timeout)
Writes message to the socket.
|
| Modifier and Type | Method and Description |
|---|---|
DiscoveryDataBag |
DiscoveryDataPacket.unmarshalGridData(Marshaller marsh,
ClassLoader clsLdr,
boolean clientNode,
IgniteLogger log) |
DiscoveryDataBag |
DiscoveryDataPacket.unmarshalJoiningNodeData(Marshaller marsh,
ClassLoader clsLdr,
boolean clientNode,
IgniteLogger log) |
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020