| 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 |
|---|---|
static CdcMain |
CdcLoader.loadCdc(String springXmlPath)
Loads
CdcMain from XML configuration file. |
| Modifier and Type | Method and Description |
|---|---|
Collection<InetSocketAddress> |
AddressResolver.getExternalAddresses(InetSocketAddress addr)
Maps internal address to a collection of external addresses.
|
Collection<InetSocketAddress> |
BasicAddressResolver.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,
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 |
BinaryObjectImpl.finishUnmarshal(CacheObjectValueContext ctx,
ClassLoader ldr) |
void |
BinaryObjectOffheapImpl.finishUnmarshal(CacheObjectValueContext ctx,
ClassLoader ldr) |
void |
BinaryEnumObjectImpl.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) |
boolean |
BinaryObjectImpl.putValue(ByteBuffer buf) |
boolean |
BinaryObjectOffheapImpl.putValue(ByteBuffer buf) |
boolean |
BinaryEnumObjectImpl.putValue(ByteBuffer buf) |
boolean |
BinaryObjectImpl.putValue(ByteBuffer buf,
int off,
int len) |
boolean |
BinaryObjectOffheapImpl.putValue(ByteBuffer buf,
int off,
int len) |
boolean |
BinaryEnumObjectImpl.putValue(ByteBuffer buf,
int off,
int len) |
int |
BinaryObjectImpl.putValue(long addr) |
int |
BinaryObjectOffheapImpl.putValue(long addr) |
int |
BinaryEnumObjectImpl.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[] |
BinaryObjectImpl.valueBytes(CacheObjectValueContext ctx) |
byte[] |
BinaryObjectOffheapImpl.valueBytes(CacheObjectValueContext ctx) |
byte[] |
BinaryEnumObjectImpl.valueBytes(CacheObjectValueContext cacheCtx) |
int |
BinaryObjectImpl.valueBytesLength(CacheObjectContext ctx) |
int |
BinaryObjectOffheapImpl.valueBytesLength(CacheObjectContext ctx) |
int |
BinaryEnumObjectImpl.valueBytesLength(CacheObjectContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Index.canHandle(CacheDataRow row)
Checks whether index handles specified cache row.
|
void |
IndexProcessor.defragment(CacheGroupContext grpCtx,
CacheGroupContext newCtx,
PageMemoryEx partPageMem,
IntMap<LinkMap> mappingByPart,
CheckpointTimeoutLock cpLock,
Runnable cancellationChecker,
IgniteThreadPoolExecutor defragmentationThreadPool)
Defragment index partition.
|
void |
IndexProcessor.destroyOrphanIndex(GridKernalContext ctx,
RootPage page,
String indexName,
int grpId,
PageMemory pageMemory,
GridAtomicLong removeId,
ReuseList reuseList,
boolean mvccEnabled)
Destroy founded index which belongs to stopped cache.
|
T |
SingleCursor.get()
Note that this implementation violates the contract of GridCusror.
|
void |
Index.onUpdate(@Nullable CacheDataRow oldRow,
@Nullable CacheDataRow newRow,
boolean prevRowAvailable)
Callback that runs when the underlying cache is updated.
|
<K,V> IndexQueryResult<K,V> |
IndexQueryProcessor.queryLocal(GridCacheContext<K,V> cctx,
IndexQueryDesc idxQryDesc,
@Nullable IgniteBiPredicate<K,V> filter,
IndexingQueryFilter cacheFilter,
boolean keepBinary)
Run query on local node.
|
| Constructor and Description |
|---|
IndexProcessor(GridKernalContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
int |
IndexRowComparator.compareKey(IndexKey left,
IndexKey right)
Compare index keys.
|
int |
IndexRowComparatorImpl.compareKey(IndexKey left,
IndexKey right)
Compare index keys.
|
int |
IndexRowComparator.compareKey(long pageAddr,
int off,
int maxSize,
IndexKey key,
InlineIndexKeyType type)
Compare inlined index key with specified key.
|
int |
IndexRowComparator.compareRow(IndexRow left,
IndexRow right,
int idx)
Compare index rows by key specified with
idx. |
int |
IndexRowComparatorImpl.compareRow(IndexRow left,
IndexRow right,
int idx)
Compare index rows by key specified with
idx. |
long |
SortedSegmentedIndex.count(int segment)
Counts index rows in specified tree segment.
|
long |
SortedSegmentedIndex.count(int segment,
IndexQueryContext qryCtx)
Counts index rows in specified tree segment with cache filter.
|
protected InlineIndexTree |
DurableBackgroundCleanupIndexTreeTaskV2.InlineIndexTreeFactory.create(CacheGroupContext grpCtx,
RootPage rootPage,
String treeName)
Creation of an index tree.
|
InlineIndexRowHandler |
InlineIndexRowHandlerFactory.create(SortedIndexDefinition sdef,
IndexKeyTypeSettings keyTypeSettings)
Creates instance of row handler.
|
static long |
DurableBackgroundCleanupIndexTreeTaskV2.destroyIndexTrees(CacheGroupContext grpCtx,
RootPage rootPage,
String cacheName,
String treeName,
int segment)
Destroying index trees.
|
GridCursor<IndexRow> |
SortedSegmentedIndex.find(@Nullable IndexRow lower,
@Nullable IndexRow upper,
boolean lowerIncl,
boolean upperIncl,
IndexQueryContext qryCtx)
Finds index rows by specified range in all tree segments with cache filtering.
|
GridCursor<IndexRow> |
SortedSegmentedIndex.find(@Nullable IndexRow lower,
@Nullable IndexRow upper,
boolean lowerIncl,
boolean upperIncl,
int segment,
IndexQueryContext qryCtx)
Finds index rows by specified range in specifed tree segment with cache filtering.
|
GridCursor<IndexRow> |
SortedSegmentedIndex.findFirst(int segment,
IndexQueryContext qryCtx)
Finds first index row for specified tree segment and cache filter.
|
GridCursor<IndexRow> |
SortedSegmentedIndex.findFirstOrLast(IndexQueryContext qryCtx,
boolean first)
Takes only one first or last index record.
|
static Map<Integer,RootPage> |
DurableBackgroundCleanupIndexTreeTaskV2.findIndexRootPages(CacheGroupContext grpCtx,
String cacheName,
String treeName,
int segments)
Finding the root pages of the index.
|
GridCursor<IndexRow> |
SortedSegmentedIndex.findLast(int segment,
IndexQueryContext qryCtx)
Finds last index row for specified tree segment and cache filter.
|
V |
IndexValueCursor.get()
Gets element at current position.
|
IndexRowImpl |
IndexRowCache.get(long link)
Get row by link.
|
boolean |
IndexValueCursor.next()
Attempt to move cursor position forward.
|
static MetaPageInfo |
MetaPageInfo.read(long metaPageId,
int grpId,
PageMemory pageMemory)
Reads meta page info from page memory.
|
static void |
DurableBackgroundCleanupIndexTreeTaskV2.renameIndexRootPages(CacheGroupContext grpCtx,
String cacheName,
String oldTreeName,
String newTreeName,
int segments)
Renaming the root index pages.
|
void |
DurableBackgroundCleanupIndexTreeTaskV2.renameIndexTrees(CacheGroupContext grpCtx)
Renames index's trees.
|
long |
SortedSegmentedIndex.totalCount()
Counts index rows for all segments.
|
void |
MetaPageInfo.write(long metaPageId,
int grpId,
PageMemory pageMemory)
Writes meta page info into page memory.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractClientIndex.onUpdate(@Nullable CacheDataRow oldRow,
@Nullable CacheDataRow newRow,
boolean prevRowAvailable)
Callback that runs when the underlying cache is updated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IndexingDefragmentation.defragment(CacheGroupContext grpCtx,
CacheGroupContext newCtx,
PageMemoryEx partPageMem,
IntMap<LinkMap> mappingByPartition,
CheckpointTimeoutLock cpLock,
Runnable cancellationChecker,
IgniteThreadPoolExecutor defragmentationThreadPool,
IgniteLogger log)
Defragment index partition.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
InlineTreeFilterClosure.apply(BPlusTree<IndexRow,IndexRow> tree,
BPlusIO<IndexRow> 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 |
InlineObjectBytesDetector.apply(BPlusTree<IndexRow,IndexRow> tree,
BPlusIO<IndexRow> 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 |
InlineTreeFilterClosure.applyMvcc(DataPageIO io,
long dataPageAddr,
int itemId,
int pageSize) |
boolean |
InlineIndexImpl.canHandle(CacheDataRow row)
Checks whether index handles specified cache row.
|
protected int |
InlineIndexTree.compare(BPlusIO<IndexRow> io,
long pageAddr,
int idx,
IndexRow row) |
void |
InlineIndexTree.copyMetaInfo(MetaPageInfo info)
Copy info from another meta page.
|
long |
InlineIndexImpl.count(int segment)
Counts index rows in specified tree segment.
|
long |
InlineIndexImpl.count(int segment,
IndexQueryContext qryCtx)
Counts index rows in specified tree segment with cache filter.
|
IndexRowImpl |
InlineIndexTree.createIndexRow(long link)
Creates an index row for this tree.
|
IndexRowImpl |
InlineIndexTree.createMvccIndexRow(long link,
long mvccCrdVer,
long mvccCntr,
int mvccOpCntr)
Creates an mvcc index row for this tree.
|
Object |
JavaObjectKeySerializer.deserialize(byte[] bytes) |
GridCursor<IndexRow> |
InlineIndexImpl.find(IndexRow lower,
IndexRow upper,
boolean lowIncl,
boolean upIncl,
IndexQueryContext qryCtx)
Finds index rows by specified range in all tree segments with cache filtering.
|
GridCursor<IndexRow> |
InlineIndexImpl.find(IndexRow lower,
IndexRow upper,
boolean lowIncl,
boolean upIncl,
int segment,
IndexQueryContext qryCtx)
Finds index rows by specified range in specifed tree segment with cache filtering.
|
GridCursor<IndexRow> |
InlineIndexImpl.findFirst(int segment,
IndexQueryContext qryCtx)
Finds first index row for specified tree segment and cache filter.
|
GridCursor<IndexRow> |
InlineIndexImpl.findFirstOrLast(IndexQueryContext qryCtx,
boolean first)
Takes only one first or last index record.
|
GridCursor<IndexRow> |
InlineIndexImpl.findLast(int segment,
IndexQueryContext qryCtx)
Finds last index row for specified tree segment and cache filter.
|
IndexRow |
InlineIndexTree.getRow(BPlusIO<IndexRow> io,
long pageAddr,
int idx,
Object ignore)
Get data row.
|
MetaPageInfo |
InlineIndexTree.metaInfo() |
void |
InlineIndexImpl.onUpdate(@Nullable CacheDataRow oldRow,
@Nullable CacheDataRow newRow,
boolean prevRowAvailable)
Callback that runs when the underlying cache is updated.
|
void |
InlineIndexImpl.putIndexRow(IndexRowImpl row)
Put index row to index.
|
byte[] |
JavaObjectKeySerializer.serialize(Object obj) |
long |
InlineIndexImpl.totalCount()
Returns number of elements in the tree by scanning pages of the bottom (leaf) level.
|
| Constructor and Description |
|---|
InlineIndexTree(SortedIndexDefinition def,
CacheGroupContext grpCtx,
String treeName,
IgniteCacheOffheapManager offheap,
ReuseList reuseList,
PageMemory pageMemory,
PageIoResolver pageIoResolver,
long metaPageId,
boolean initNew,
int configuredInlineSize,
int maxInlineSize,
IndexKeyTypeSettings keyTypeSettings,
@Nullable IndexRowCache idxRowCache,
@Nullable IoStatisticsHolder stats,
InlineIndexRowHandlerFactory rowHndFactory,
InlineRecommender recommender)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IndexRow |
AbstractLeafIO.getLookupRow(BPlusTree<IndexRow,?> tree,
long pageAddr,
int idx)
Get lookup row.
|
IndexRow |
AbstractInlineInnerIO.getLookupRow(BPlusTree<IndexRow,?> tree,
long pageAddr,
int idx)
Get lookup row.
|
IndexRow |
AbstractInnerIO.getLookupRow(BPlusTree<IndexRow,?> tree,
long pageAddr,
int idx)
Get lookup row.
|
IndexRow |
AbstractInlineLeafIO.getLookupRow(BPlusTree<IndexRow,?> tree,
long pageAddr,
int idx)
Get lookup row.
|
| Modifier and Type | Method and Description |
|---|---|
int |
IndexKey.compare(IndexKey o) |
| Modifier and Type | Method and Description |
|---|---|
void |
WalRecordsConsumer.DataEntryIterator.close() |
void |
WalRecordsConsumer.start(MetricRegistry cdcReg,
MetricRegistry cdcConsumerReg)
Starts the consumer.
|
| 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 | Method and Description |
|---|---|
void |
ClientConnection.send(ByteBuffer msg,
@Nullable Runnable onDone)
Sends a message.
|
| 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 |
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.
|
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.
|
GridFutureAdapter<?> |
DistributedBaselineConfiguration.updateBaselineAutoAdjustEnabledAsync(boolean baselineAutoAdjustEnabled) |
GridFutureAdapter<?> |
DistributedBaselineConfiguration.updateBaselineAutoAdjustTimeoutAsync(long baselineAutoAdjustTimeout) |
GridFutureAdapter<?> |
DistributedTransactionConfiguration.updateCollisionsDumpIntervalAsync(int collisionsDumpInterval)
Cluster wide update of
DistributedTransactionConfiguration.collisionsDumpInterval. |
GridFutureAdapter<?> |
DistributedTransactionConfiguration.updateLongOperationsDumpTimeoutAsync(long timeout)
Cluster wide update of
DistributedTransactionConfiguration.longOperationsDumpTimeout. |
GridFutureAdapter<?> |
DistributedTransactionConfiguration.updateLongTransactionTimeDumpSamplesPerSecondLimitAsync(int limit)
Cluster wide update of
DistributedTransactionConfiguration.longTransactionTimeDumpSamplesPerSecondLimit. |
GridFutureAdapter<?> |
DistributedTransactionConfiguration.updateLongTransactionTimeDumpThresholdAsync(long longTransactionTimeDumpThreshold)
Cluster wide update of
DistributedTransactionConfiguration.longTransactionTimeDumpThreshold. |
GridFutureAdapter<?> |
DistributedTransactionConfiguration.updateTransactionTimeDumpSamplesCoefficientAsync(double transactionTimeDumpSamplesCoefficient)
Cluster wide update of
DistributedTransactionConfiguration.transactionTimeDumpSamplesCoefficient. |
GridFutureAdapter<?> |
DistributedTransactionConfiguration.updateTxOwnerDumpRequestsAllowedAsync(boolean allowed)
Cluster wide update of
DistributedTransactionConfiguration.txOwnerDumpRequestsAllowed. |
| 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 |
|---|---|
void |
MaintenanceFileStore.init() |
@Nullable MaintenanceTask |
MaintenanceProcessor.registerMaintenanceTask(MaintenanceTask task)
Method to register
MaintenanceTask locally on the node where method is called. |
void |
MaintenanceProcessor.registerMaintenanceTask(MaintenanceTask task,
UnaryOperator<MaintenanceTask> remappingFunction)
Method to register
MaintenanceTask locally on the node where method is called. |
void |
MaintenanceProcessor.start()
Starts grid component.
|
void |
MaintenanceProcessor.stop(boolean cancel)
Stops grid component.
|
| 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.
|
<T> void |
IgniteMBeansManager.registerMBean(String grp,
String name,
T impl,
Class<T> itf)
Register an Ignite MBean.
|
void |
IgniteMBeansManager.registerMBeansAfterNodeStarted()
Registers kernal MBeans (for kernal, metrics, thread pools) after node start.
|
void |
IgniteMBeansManager.registerMBeansDuringInitPhase()
Registers kernal MBeans during init phase.
|
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 |
GridDeploymentStore.onKernalStart()
Kernal started callback.
|
void |
GridDeploymentPerVersionStore.onKernalStart()
Kernal started callback.
|
void |
GridDeploymentManager.onKernalStart0() |
IgniteInternalFuture<?> |
GridDeploymentManager.onReconnected(boolean clusterRestarted)
Client reconnected callback.
|
void |
GridDeploymentManager.start()
Starts grid component.
|
void |
GridDeploymentPerLoaderStore.start()
Starts store.
|
void |
GridDeploymentStore.start()
Starts store.
|
void |
GridDeploymentPerVersionStore.start()
Starts store.
|
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 |
|---|---|
protected void |
GridEncryptionManager.changeCacheGroupKeyLocal(int[] grpIds,
byte[] keyIds,
byte[][] keys) |
void |
GridEncryptionManager.checkEncryptedCacheSupported()
Checks cache encryption supported by all nodes in cluster.
|
void |
GridEncryptionManager.onActivate(GridKernalContext kctx)
Called when cluster performing activation.
|
void |
GridEncryptionManager.onReadyForReadWrite(ReadWriteMetastorage metaStorage)
Fully functional metastore capable of performing reading and writing operations.
|
long[] |
CacheGroupPageScanner.pagesCount(CacheGroupContext grp)
Collect current number of pages in the specified cache group.
|
boolean |
GridEncryptionManager.resumeReencryption(int grpId)
Forces re-encryption of the cache group.
|
IgniteInternalFuture<Void> |
CacheGroupPageScanner.schedule(int grpId)
Schedule scanning partitions.
|
void |
GridEncryptionManager.start()
Starts grid component.
|
void |
CacheGroupPageScanner.stop()
Shutdown scanning and disable new tasks scheduling.
|
void |
GridEncryptionManager.stop(boolean cancel)
Stops grid component.
|
boolean |
GridEncryptionManager.suspendReencryption(int grpId)
Suspend re-encryption of the cache group.
|
| 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.
|
protected <T> T |
OptimizedMarshaller.unmarshal0(InputStream in,
@Nullable ClassLoader clsLdr,
boolean useCache)
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.
|
| 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.
|
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.
|
PageStore |
PageStoreCollection.getStore(int grpId,
int partId) |
Collection<PageStore> |
PageStoreCollection.getStores(int grpId) |
void |
IgnitePageStoreManager.initialize(int cacheId,
int partitions,
String cacheName,
PageMetrics pageMetrics)
Initializes disk store structures.
|
void |
IgnitePageStoreManager.initializeForCache(CacheGroupDescriptor grpDesc,
CacheConfiguration<?,?> ccfg)
Callback called when a cache is starting.
|
void |
IgnitePageStoreManager.initializeForMetastorage()
Initializes disk cache store structures.
|
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.
|
boolean |
PageStore.read(long pageId,
ByteBuffer pageBuf,
boolean keepCrc)
Reads a page.
|
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.shutdownForCacheGroup(CacheGroupContext grp,
boolean destroy)
Callback called when a cache is stopping.
|
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.truncate(int grpId,
int partId,
int tag)
Callback called when a partition for the given cache is evicted from the local node.
|
PageStore |
IgnitePageStoreManager.write(int grpId,
long pageId,
ByteBuffer pageBuf,
int tag,
boolean calculateCrc)
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.
|
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 |
DataPageRemoveRecord.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 |
TrackingPageRepairDeltaRecord.applyDelta(PageMemory pageMem,
long pageAddr) |
void |
MetaPageInitRootRecord.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 |
MetaPageUpdateIndexDataRecord.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 |
FixLeftmostChildRecord.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 |
NewRootInitRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
MetaPageAddRootRecord.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 |
MetaPageUpdateLastSuccessfulFullSnapshotId.applyDelta(PageMemory pageMem,
long pageAddr)
Deprecated.
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 |
InsertRecord.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 |
PageListMetaResetCountRecord.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.
|
void |
MetaPageUpdatePartitionDataRecordV2.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 |
MetaPageInitRootInlineRecord.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 |
RemoveRecord.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 |
PagesListAddPageRecord.applyDelta(PageMemory pageMem,
long pageAddr)
Apply changes from this delta to the given page.
|
void |
ReplaceRecord.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 |
MetaPageUpdateLastSuccessfulSnapshotId.applyDelta(PageMemory pageMem,
long pageAddr)
Deprecated.
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 |
DataPageInsertRecord.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 |
PagesListSetPreviousRecord.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 |
FixRemoveId.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 |
MetaPageUpdatePartitionDataRecordV3.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 |
RecycleRecord.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.
|
abstract void |
PageDeltaRecord.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 |
TrackingPageDeltaRecord.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 |
DataPageSetFreeListPageRecord.applyDelta(PageMemory pageMem,
long pageAddr)
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.alterUser(String login,
char[] passwd)
Alters password of user with the specified login.
|
SecurityContext |
IgniteAuthenticationProcessor.authenticate(AuthenticationContext authCtx)
Authenticates subject via underlying Authenticator.
|
SecuritySubject |
IgniteAuthenticationProcessor.authenticatedSubject(UUID subjId)
Gets authenticated node subject.
|
Collection<SecuritySubject> |
IgniteAuthenticationProcessor.authenticatedSubjects()
Gets collection of authenticated nodes.
|
SecurityContext |
IgniteAuthenticationProcessor.authenticateNode(ClusterNode node,
SecurityCredentials cred)
Authenticates grid node with it's attributes via underlying Authenticator.
|
void |
IgniteAuthenticationProcessor.createUser(String login,
char[] passwd)
Creates user with the specified login and password.
|
void |
IgniteAuthenticationProcessor.dropUser(String login)
Drops user with the specified login.
|
void |
IgniteAuthenticationProcessor.onReadyForRead(ReadOnlyMetastorage metastorage)
Is called when metastorage is made ready for read-only operations very early on node startup phase.
|
void |
IgniteAuthenticationProcessor.startProcessor()
Starts processor.
|
void |
IgniteAuthenticationProcessor.stop(boolean cancel)
Stops grid component.
|
| 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) |
<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> |
IgniteCacheOffheapManagerImpl.cacheKeysIterator(int cacheId,
int part) |
GridCloseableIterator<KeyCacheObject> |
IgniteCacheOffheapManager.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 |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.cleanup(GridCacheContext cctx,
@Nullable List<MvccLinkAwareSearchRow> cleanupRows) |
int |
IgniteCacheOffheapManager.CacheDataStore.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 |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.clear(int cacheId)
Clears all the records associated with logical cache with given ID.
|
void |
IgniteCacheOffheapManager.CacheDataStore.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) |
GridCacheVersionConflictContext<K,V> |
GridCacheContext.conflictResolve(GridCacheVersionedEntryEx<K,V> oldEntry,
GridCacheVersionedEntryEx<K,V> newEntry,
boolean atomicVerComp)
Resolve DR conflict.
|
IgniteCacheOffheapManager.CacheDataStore |
IgniteCacheOffheapManagerImpl.createCacheDataStore(int p) |
IgniteCacheOffheapManager.CacheDataStore |
IgniteCacheOffheapManager.createCacheDataStore(int p) |
protected IgniteCacheOffheapManager.CacheDataStore |
IgniteCacheOffheapManagerImpl.createCacheDataStore0(int p) |
CacheDataRow |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.createRow(GridCacheContext cctx,
KeyCacheObject key,
CacheObject val,
GridCacheVersion ver,
long expireTime,
@Nullable CacheDataRow oldRow) |
CacheDataRow |
IgniteCacheOffheapManager.CacheDataStore.createRow(GridCacheContext cctx,
KeyCacheObject key,
CacheObject val,
GridCacheVersion ver,
long expireTime,
@Nullable CacheDataRow oldRow) |
GridCursor<? extends CacheDataRow> |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.cursor() |
GridCursor<? extends CacheDataRow> |
IgniteCacheOffheapManager.CacheDataStore.cursor() |
GridCursor<? extends CacheDataRow> |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.cursor(int cacheId) |
GridCursor<? extends CacheDataRow> |
IgniteCacheOffheapManager.CacheDataStore.cursor(int cacheId) |
GridCursor<? extends CacheDataRow> |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.cursor(int cacheId,
KeyCacheObject lower,
KeyCacheObject upper) |
GridCursor<? extends CacheDataRow> |
IgniteCacheOffheapManager.CacheDataStore.cursor(int cacheId,
KeyCacheObject lower,
KeyCacheObject upper) |
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) |
GridCursor<? extends CacheDataRow> |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.cursor(int cacheId,
KeyCacheObject lower,
KeyCacheObject upper,
Object x,
MvccSnapshot snapshot) |
GridCursor<? extends CacheDataRow> |
IgniteCacheOffheapManager.CacheDataStore.cursor(int cacheId,
KeyCacheObject lower,
KeyCacheObject upper,
Object x,
MvccSnapshot snapshot) |
GridCursor<? extends CacheDataRow> |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.cursor(int cacheId,
MvccSnapshot mvccSnapshot) |
GridCursor<? extends CacheDataRow> |
IgniteCacheOffheapManager.CacheDataStore.cursor(int cacheId,
MvccSnapshot mvccSnapshot) |
GridCursor<? extends CacheDataRow> |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.cursor(MvccSnapshot mvccSnapshot) |
GridCursor<? extends CacheDataRow> |
IgniteCacheOffheapManager.CacheDataStore.cursor(MvccSnapshot mvccSnapshot) |
GridCursor<? extends CacheDataRow> |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.cursor(Object x) |
GridCursor<? extends CacheDataRow> |
IgniteCacheOffheapManager.CacheDataStore.cursor(Object x) |
void |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.destroy()
Destroys the tree associated with the store.
|
void |
IgniteCacheOffheapManager.CacheDataStore.destroy()
Destroys the tree associated with the store.
|
void |
IgniteCacheOffheapManagerImpl.destroyCacheDataStore(IgniteCacheOffheapManager.CacheDataStore store) |
void |
IgniteCacheOffheapManager.destroyCacheDataStore(IgniteCacheOffheapManager.CacheDataStore store) |
protected void |
IgniteCacheOffheapManagerImpl.destroyCacheDataStore0(IgniteCacheOffheapManager.CacheDataStore store) |
protected void |
WalStateManager.WALDisableContext.disableWAL(boolean disable) |
@Nullable RootPage |
IgniteCacheOffheapManagerImpl.dropRootPageForIndex(int cacheId,
String idxName,
int segment)
Dropping the root page of the index tree.
|
@Nullable RootPage |
IgniteCacheOffheapManager.dropRootPageForIndex(int cacheId,
String idxName,
int segment)
Dropping the root page of the index tree.
|
void |
GridCacheProcessor.enableStatistics(Collection<String> cacheNames,
boolean enabled)
Enable/disable statistics globally for the caches
|
void |
GridCacheSharedContext.endTx(GridNearTxLocal tx) |
boolean |
CacheEvictionManager.evict(@Nullable GridCacheEntryEx entry,
@Nullable GridCacheVersion obsoleteVer,
boolean explicit,
@Nullable CacheEntryPredicate[] filter) |
boolean |
CacheOffheapEvictionManager.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 |
IgniteCacheOffheapManagerImpl.expire(GridCacheContext cctx,
IgniteInClosure2X<GridCacheEntryEx,GridCacheVersion> c,
int amount) |
boolean |
IgniteCacheOffheapManager.expire(GridCacheContext cctx,
IgniteInClosure2X<GridCacheEntryEx,GridCacheVersion> c,
int amount) |
long |
IgniteCacheOffheapManagerImpl.expiredSize()
Gets the number of entries pending expire.
|
long |
IgniteCacheOffheapManager.expiredSize()
Gets the number of entries pending expire.
|
CacheDataRow |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.find(GridCacheContext cctx,
KeyCacheObject key) |
CacheDataRow |
IgniteCacheOffheapManager.CacheDataStore.find(GridCacheContext cctx,
KeyCacheObject key) |
@Nullable RootPage |
IgniteCacheOffheapManagerImpl.findRootPageForIndex(int cacheId,
String idxName,
int segment) |
@Nullable RootPage |
IgniteCacheOffheapManager.findRootPageForIndex(int cacheId,
String idxName,
int segment) |
void |
CacheGroupContext.finishRecovery(AffinityTopologyVersion startVer,
UUID originalReceivedFrom,
boolean affinityNode)
Finishes recovery for current cache group.
|
void |
CacheObject.finishUnmarshal(CacheObjectValueContext ctx,
ClassLoader ldr) |
void |
CacheObjectImpl.finishUnmarshal(CacheObjectValueContext ctx,
ClassLoader ldr) |
void |
KeyCacheObjectImpl.finishUnmarshal(CacheObjectValueContext ctx,
ClassLoader ldr) |
void |
CacheObjectByteArrayImpl.finishUnmarshal(CacheObjectValueContext ctx,
ClassLoader ldr) |
void |
CacheEntryPredicateContainsValue.finishUnmarshal(GridCacheContext ctx,
ClassLoader ldr) |
void |
CacheEvictionEntry.finishUnmarshal(GridCacheContext ctx,
ClassLoader ldr) |
void |
CacheInvokeDirectResult.finishUnmarshal(GridCacheContext ctx,
ClassLoader ldr) |
void |
CacheEntrySerializablePredicate.finishUnmarshal(GridCacheContext ctx,
ClassLoader ldr) |
void |
CacheEntryPredicateAdapter.finishUnmarshal(GridCacheContext ctx,
ClassLoader ldr) |
void |
GridCacheReturn.finishUnmarshal(GridCacheContext ctx,
ClassLoader ldr) |
void |
CacheEntryPredicate.finishUnmarshal(GridCacheContext ctx,
ClassLoader ldr) |
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. |
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. |
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,
ReadRepairStrategy readRepairStrategy) |
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)
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,
boolean primary)
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,
boolean primary)
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,
boolean primary,
@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,
boolean primary,
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,
Object transformClo,
String taskName,
@Nullable IgniteCacheExpiryPolicy expiryPlc,
boolean keepBinary) |
CacheObject |
GridCacheMapEntry.innerGet(@Nullable GridCacheVersion ver,
@Nullable IgniteInternalTx tx,
boolean readThrough,
boolean updateMetrics,
boolean evt,
Object transformClo,
String taskName,
@Nullable IgniteCacheExpiryPolicy expirePlc,
boolean keepBinary) |
EntryGetResult |
GridCacheEntryEx.innerGetAndReserveForLoad(boolean updateMetrics,
boolean evt,
String taskName,
@Nullable IgniteCacheExpiryPolicy expiryPlc,
boolean keepBinary,
@Nullable ReaderArguments readerArgs) |
EntryGetResult |
GridCacheMapEntry.innerGetAndReserveForLoad(boolean updateMetrics,
boolean evt,
String taskName,
@Nullable IgniteCacheExpiryPolicy expiryPlc,
boolean keepBinary,
@Nullable ReaderArguments readerArgs) |
EntryGetResult |
GridCacheEntryEx.innerGetVersioned(@Nullable GridCacheVersion ver,
IgniteInternalTx tx,
boolean updateMetrics,
boolean evt,
Object transformClo,
String taskName,
@Nullable IgniteCacheExpiryPolicy expiryPlc,
boolean keepBinary,
@Nullable ReaderArguments readerArgs) |
EntryGetResult |
GridCacheMapEntry.innerGetVersioned(@Nullable GridCacheVersion ver,
IgniteInternalTx tx,
boolean updateMetrics,
boolean evt,
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,
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,
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,
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,
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,
boolean readRepairRecovery,
AffinityTopologyVersion topVer,
@Nullable CacheEntryPredicate[] filter,
GridDrType drType,
long conflictTtl,
long conflictExpireTime,
@Nullable GridCacheVersion conflictVer,
boolean conflictResolve,
boolean intercept,
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,
boolean readRepairRecovery,
AffinityTopologyVersion topVer,
@Nullable CacheEntryPredicate[] filter,
GridDrType drType,
long explicitTtl,
long explicitExpireTime,
@Nullable GridCacheVersion conflictVer,
boolean conflictResolve,
boolean intercept,
String taskName,
@Nullable CacheObject prevVal,
@Nullable Long updateCntr,
@Nullable GridDhtAtomicAbstractUpdateFuture fut,
boolean transformOp) |
void |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.insertRows(Collection<DataRowCacheAware> rows,
IgnitePredicateX<CacheDataRow> initPred)
Insert rows into page memory.
|
void |
IgniteCacheOffheapManager.CacheDataStore.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 |
IgniteCacheOffheapManagerImpl.invoke(GridCacheContext cctx,
KeyCacheObject key,
GridDhtLocalPartition part,
IgniteCacheOffheapManager.OffheapInvokeClosure c) |
void |
IgniteCacheOffheapManager.invoke(GridCacheContext cctx,
KeyCacheObject key,
GridDhtLocalPartition part,
IgniteCacheOffheapManager.OffheapInvokeClosure c) |
void |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.invoke(GridCacheContext cctx,
KeyCacheObject key,
IgniteCacheOffheapManager.OffheapInvokeClosure c) |
void |
IgniteCacheOffheapManager.CacheDataStore.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,
GridCacheVersion writeVer,
long expireTime,
long updCntr) |
protected void |
GridCacheMapEntry.logUpdate(GridCacheOperation op,
CacheObject val,
GridCacheVersion writeVer,
long expireTime,
long updCntr,
boolean primary) |
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>> |
IgniteCacheOffheapManagerImpl.mvccAllVersions(GridCacheContext cctx,
KeyCacheObject key)
For testing only.
|
List<IgniteBiTuple<Object,MvccVersion>> |
IgniteCacheOffheapManager.mvccAllVersions(GridCacheContext cctx,
KeyCacheObject key)
For testing only.
|
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.
|
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.
|
boolean |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.mvccApplyHistoryIfAbsent(GridCacheContext cctx,
KeyCacheObject key,
List<GridCacheMvccEntryInfo> hist)
Tries to apply entry history.
|
boolean |
IgniteCacheOffheapManager.CacheDataStore.mvccApplyHistoryIfAbsent(GridCacheContext cctx,
KeyCacheObject key,
List<GridCacheMvccEntryInfo> hist)
Tries to apply entry history.
|
boolean |
IgniteCacheOffheapManagerImpl.mvccApplyHistoryIfAbsent(GridCacheMapEntry entry,
List<GridCacheMvccEntryInfo> hist)
Tries to apply entry history.
|
boolean |
IgniteCacheOffheapManager.mvccApplyHistoryIfAbsent(GridCacheMapEntry entry,
List<GridCacheMvccEntryInfo> hist)
Tries to apply entry history.
|
void |
IgniteCacheOffheapManagerImpl.mvccApplyUpdate(GridCacheContext cctx,
KeyCacheObject key,
CacheObject val,
GridCacheVersion ver,
long expireTime,
GridDhtLocalPartition part,
MvccVersion mvccVer) |
void |
IgniteCacheOffheapManager.mvccApplyUpdate(GridCacheContext cctx,
KeyCacheObject key,
CacheObject val,
GridCacheVersion ver,
long expireTime,
GridDhtLocalPartition part,
MvccVersion mvccVer) |
void |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.mvccApplyUpdate(GridCacheContext cctx,
KeyCacheObject key,
CacheObject val,
GridCacheVersion ver,
long expireTime,
MvccVersion mvccVer) |
void |
IgniteCacheOffheapManager.CacheDataStore.mvccApplyUpdate(GridCacheContext cctx,
KeyCacheObject key,
CacheObject val,
GridCacheVersion ver,
long expireTime,
MvccVersion mvccVer) |
CacheDataRow |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.mvccFind(GridCacheContext cctx,
KeyCacheObject key,
MvccSnapshot snapshot) |
CacheDataRow |
IgniteCacheOffheapManager.CacheDataStore.mvccFind(GridCacheContext cctx,
KeyCacheObject key,
MvccSnapshot snapshot) |
List<IgniteBiTuple<Object,MvccVersion>> |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.mvccFindAllVersions(GridCacheContext cctx,
KeyCacheObject key)
For testing only.
|
List<IgniteBiTuple<Object,MvccVersion>> |
IgniteCacheOffheapManager.CacheDataStore.mvccFindAllVersions(GridCacheContext cctx,
KeyCacheObject key)
For testing only.
|
boolean |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.mvccInitialValue(GridCacheContext cctx,
KeyCacheObject key,
@Nullable CacheObject val,
GridCacheVersion ver,
long expireTime,
MvccVersion mvccVer,
MvccVersion newMvccVer) |
boolean |
IgniteCacheOffheapManager.CacheDataStore.mvccInitialValue(GridCacheContext cctx,
KeyCacheObject key,
@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) |
boolean |
IgniteCacheOffheapManager.mvccInitialValue(GridCacheMapEntry entry,
@Nullable CacheObject val,
GridCacheVersion ver,
long expireTime,
MvccVersion mvccVer,
MvccVersion newMvccVer) |
MvccUpdateResult |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.mvccLock(GridCacheContext cctx,
KeyCacheObject key,
MvccSnapshot mvccSnapshot) |
MvccUpdateResult |
IgniteCacheOffheapManager.CacheDataStore.mvccLock(GridCacheContext cctx,
KeyCacheObject key,
MvccSnapshot mvccSnapshot) |
@Nullable MvccUpdateResult |
IgniteCacheOffheapManagerImpl.mvccLock(GridCacheMapEntry entry,
MvccSnapshot mvccSnapshot) |
@Nullable MvccUpdateResult |
IgniteCacheOffheapManager.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 |
IgniteCacheOffheapManagerImpl.mvccRead(GridCacheContext cctx,
KeyCacheObject key,
MvccSnapshot mvccSnapshot) |
@Nullable CacheDataRow |
IgniteCacheOffheapManager.mvccRead(GridCacheContext cctx,
KeyCacheObject key,
MvccSnapshot mvccSnapshot) |
MvccUpdateResult |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.mvccRemove(GridCacheContext cctx,
KeyCacheObject key,
MvccSnapshot mvccSnapshot,
@Nullable CacheEntryPredicate filter,
boolean primary,
boolean needHistory,
boolean needOldVal,
boolean retVal) |
MvccUpdateResult |
IgniteCacheOffheapManager.CacheDataStore.mvccRemove(GridCacheContext cctx,
KeyCacheObject key,
MvccSnapshot mvccSnapshot,
@Nullable CacheEntryPredicate filter,
boolean primary,
boolean needHistory,
boolean needOldVal,
boolean retVal) |
MvccUpdateResult |
IgniteCacheOffheapManagerImpl.mvccRemove(GridCacheMapEntry entry,
MvccSnapshot mvccSnapshot,
boolean primary,
boolean needHistory,
boolean needOldVal,
@Nullable CacheEntryPredicate filter,
boolean retVal) |
@Nullable MvccUpdateResult |
IgniteCacheOffheapManager.mvccRemove(GridCacheMapEntry entry,
MvccSnapshot mvccSnapshot,
boolean primary,
boolean needHist,
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 |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.mvccRemoveAll(GridCacheContext cctx,
KeyCacheObject key) |
void |
IgniteCacheOffheapManager.CacheDataStore.mvccRemoveAll(GridCacheContext cctx,
KeyCacheObject key) |
void |
IgniteCacheOffheapManagerImpl.mvccRemoveAll(GridCacheMapEntry entry) |
void |
IgniteCacheOffheapManager.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 |
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.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.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) |
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) |
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 |
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.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.mvccUpdateRowWithPreloadInfo(GridCacheMapEntry entry,
@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.
|
IgniteInternalFuture<?> |
CacheAffinitySharedManager.onCacheChangeRequest(GridDhtPartitionsExchangeFuture fut,
boolean crd,
ExchangeActions exchActions)
Called on exchange initiated for cache start/stop request.
|
void |
IgniteCacheOffheapManagerImpl.onCacheStarted(GridCacheContext cctx) |
void |
IgniteCacheOffheapManager.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 |
GridCacheManagerAdapter.onKernalStart() |
void |
GridCacheAdapter.onKernalStart()
Kernal start callback.
|
void |
GridCacheManager.onKernalStart() |
void |
CacheOsConflictResolutionManager.onKernalStart() |
void |
ClusterCachesInfo.onKernalStart(boolean checkConsistency) |
void |
GridCacheProcessor.onKernalStart(boolean active)
Callback that notifies that kernal has successfully started,
including all managers and processors.
|
AffinityTopologyVersion |
GridCachePartitionExchangeManager.onKernalStart(boolean active,
boolean reconnect) |
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 |
ClusterCachesInfo.onStateChangeRequest(ChangeGlobalStateMessage msg,
AffinityTopologyVersion topVer,
DiscoveryDataClusterState curState) |
ExchangeActions |
GridCacheProcessor.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 |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.preload()
Preload a store into page memory.
|
void |
IgniteCacheOffheapManager.CacheDataStore.preload()
Preload a store into page memory.
|
void |
IgniteCacheOffheapManagerImpl.preloadPartition(int partId)
Preload a partition.
|
void |
GridCacheAdapter.preloadPartition(int part)
Preload cache partition.
|
void |
GridCacheProxyImpl.preloadPartition(int part)
Preload cache partition.
|
void |
IgniteCacheOffheapManager.preloadPartition(int pardId)
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 |
CacheObject.prepareMarshal(CacheObjectValueContext ctx) |
void |
CacheObjectImpl.prepareMarshal(CacheObjectValueContext ctx) |
void |
KeyCacheObjectImpl.prepareMarshal(CacheObjectValueContext ctx) |
void |
CacheObjectByteArrayImpl.prepareMarshal(CacheObjectValueContext ctx) |
void |
CacheEntryPredicateContainsValue.prepareMarshal(GridCacheContext ctx) |
void |
CacheEvictionEntry.prepareMarshal(GridCacheContext ctx) |
void |
CacheInvokeDirectResult.prepareMarshal(GridCacheContext ctx) |
void |
CacheEntrySerializablePredicate.prepareMarshal(GridCacheContext ctx) |
void |
CacheEntryPredicateAdapter.prepareMarshal(GridCacheContext ctx) |
void |
GridCacheReturn.prepareMarshal(GridCacheContext ctx) |
void |
CacheEntryPredicate.prepareMarshal(GridCacheContext ctx) |
void |
GridCacheMessage.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridChangeGlobalStateMessageResponse.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 |
CacheObject.putValue(ByteBuffer buf) |
boolean |
CacheObjectByteArrayImpl.putValue(ByteBuffer buf) |
boolean |
CacheObjectAdapter.putValue(ByteBuffer buf,
int off,
int len) |
boolean |
CacheObject.putValue(ByteBuffer buf,
int off,
int len) |
boolean |
CacheObjectByteArrayImpl.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 |
CacheObject.putValue(long addr) |
int |
CacheObjectByteArrayImpl.putValue(long addr) |
@Nullable CacheDataRow |
IgniteCacheOffheapManagerImpl.read(GridCacheContext cctx,
KeyCacheObject key) |
@Nullable CacheDataRow |
IgniteCacheOffheapManager.read(GridCacheContext cctx,
KeyCacheObject key) |
@Nullable CacheDataRow |
IgniteCacheOffheapManagerImpl.read(GridCacheMapEntry entry) |
@Nullable CacheDataRow |
IgniteCacheOffheapManager.read(GridCacheMapEntry entry) |
Map<String,StoredCacheData> |
GridLocalConfigManager.readCacheConfigurations() |
void |
GridLocalConfigManager.readCacheConfigurations(File dir,
Map<String,StoredCacheData> ccfgs) |
StoredCacheData |
GridLocalConfigManager.readCacheData(File conf) |
static StoredCacheData |
GridLocalConfigManager.readCacheData(File conf,
@Nullable Marshaller marshaller,
@Nullable IgniteConfiguration cfg) |
protected @Nullable Object |
GridCacheMapEntry.readThrough(@Nullable IgniteInternalTx tx,
KeyCacheObject key,
boolean reload,
String taskName) |
IgniteRebalanceIterator |
IgniteCacheOffheapManagerImpl.rebalanceIterator(IgniteDhtDemandedPartitionsMap parts,
AffinityTopologyVersion topVer) |
IgniteRebalanceIterator |
IgniteCacheOffheapManager.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 |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.remove(GridCacheContext cctx,
KeyCacheObject key,
int partId) |
void |
IgniteCacheOffheapManager.CacheDataStore.remove(GridCacheContext cctx,
KeyCacheObject key,
int partId) |
void |
IgniteCacheOffheapManagerImpl.remove(GridCacheContext cctx,
KeyCacheObject key,
int partId,
GridDhtLocalPartition part) |
void |
IgniteCacheOffheapManager.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 |
GridLocalConfigManager.removeCacheData(StoredCacheData cacheData)
Remove cache configuration from persistent store.
|
void |
GridLocalConfigManager.removeCacheGroupConfigurationData(CacheGroupContext ctx)
Delete caches' configuration data files of cache group.
|
void |
CacheWeakQueryIteratorsHolder.removeIterator(CacheWeakQueryIteratorsHolder.WeakReferenceCloseableIterator it) |
protected void |
WalStateManager.WALDisableContext.removeMetaStoreDisableWALFlag() |
protected void |
GridCacheMapEntry.removeValue()
Removes value from offheap.
|
@Nullable RootPage |
IgniteCacheOffheapManagerImpl.renameRootPageForIndex(int cacheId,
String oldIdxName,
String newIdxName,
int segment)
Renaming the root page of the index tree.
|
@Nullable RootPage |
IgniteCacheOffheapManager.renameRootPageForIndex(int cacheId,
String oldIdxName,
String newIdxName,
int segment)
Renaming the root page of the index tree.
|
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,
ReadRepairStrategy readRepairStrategy) |
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) |
CacheJoinNodeDiscoveryData |
GridLocalConfigManager.restoreCacheConfigurations() |
void |
IgniteCacheOffheapManagerImpl.restorePartitionStates()
Pre-create partitions that resides in page memory or WAL and restores their state.
|
void |
IgniteCacheOffheapManager.restorePartitionStates()
Pre-create partitions that resides in page memory or WAL and restores their state.
|
long |
IgniteCacheOffheapManagerImpl.restoreStateOfPartition(int p,
@Nullable Integer recoveryState)
Pre-create single partition that resides in page memory or WAL and restores their state.
|
long |
IgniteCacheOffheapManager.restoreStateOfPartition(int p,
@Nullable Integer recoveryState)
Pre-create single partition 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 |
IgniteCacheOffheapManagerImpl.rootPageForIndex(int cacheId,
String idxName,
int segment) |
RootPage |
IgniteCacheOffheapManager.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 |
GridLocalConfigManager.saveCacheConfiguration(StoredCacheData cacheData,
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 |
CacheGroupContext.start() |
void |
GridCachePreloaderAdapter.start()
Starts preloading.
|
abstract void |
GridCacheAdapter.start()
Starts this cache.
|
void |
GridCachePreloader.start()
Starts preloading.
|
void |
GridCacheProcessor.start()
Starts grid component.
|
void |
GridCacheManagerAdapter.start(GridCacheContext<K,V> cctx)
Starts manager.
|
void |
GridCacheManager.start(GridCacheContext<K,V> cctx)
Starts manager.
|
void |
CacheOsConflictResolutionManager.start(GridCacheContext<K,V> cctx)
Starts manager.
|
void |
GridCacheSharedManager.start(GridCacheSharedContext<K,V> cctx)
Starts manager.
|
void |
GridCacheSharedManagerAdapter.start(GridCacheSharedContext<K,V> cctx)
Starts manager.
|
void |
IgniteCacheOffheapManagerImpl.start(GridCacheSharedContext ctx,
CacheGroupContext grp) |
void |
IgniteCacheOffheapManager.start(GridCacheSharedContext ctx,
CacheGroupContext grp) |
protected void |
WalStateManager.start0() |
protected void |
GridCacheMvccManager.start0() |
protected void |
GridCacheManagerAdapter.start0() |
void |
GridCacheAffinityManager.start0() |
void |
GridCacheDeploymentManager.start0() |
protected void |
GridCacheSharedManagerAdapter.start0() |
protected void |
CacheDiagnosticManager.start0() |
protected void |
CacheAffinitySharedManager.start0() |
void |
GridCacheEvictionManager.start0() |
protected void |
GridCachePartitionExchangeManager.start0() |
void |
GridCacheIoManager.start0() |
protected void |
GridCacheTtlManager.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.
|
boolean |
GridCacheProcessor.stopWarmUp()
Stop warming up and current running strategy.
|
void |
IgniteCacheOffheapManagerImpl.storeEntries(GridDhtLocalPartition part,
Iterator<GridCacheEntryInfo> infos,
IgnitePredicateX<CacheDataRow> initPred)
Store entries.
|
void |
IgniteCacheOffheapManager.storeEntries(GridDhtLocalPartition part,
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 |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.update(GridCacheContext cctx,
KeyCacheObject key,
CacheObject val,
GridCacheVersion ver,
long expireTime,
@Nullable CacheDataRow oldRow) |
void |
IgniteCacheOffheapManager.CacheDataStore.update(GridCacheContext cctx,
KeyCacheObject key,
CacheObject val,
GridCacheVersion ver,
long expireTime,
@Nullable CacheDataRow oldRow) |
void |
IgniteCacheOffheapManagerImpl.update(GridCacheContext cctx,
KeyCacheObject key,
CacheObject val,
GridCacheVersion ver,
long expireTime,
GridDhtLocalPartition part,
@Nullable CacheDataRow oldRow) |
void |
IgniteCacheOffheapManager.update(GridCacheContext cctx,
KeyCacheObject key,
CacheObject val,
GridCacheVersion ver,
long expireTime,
GridDhtLocalPartition part,
@Nullable CacheDataRow oldRow) |
void |
PartitionUpdateCounterErrorWrapper.update(long val)
Sets update counter to absolute value.
|
void |
PartitionUpdateCounterDebugWrapper.update(long val)
Sets update counter to absolute value.
|
void |
PartitionUpdateCounterTrackingImpl.update(long val)
Sets update counter to absolute value.
|
void |
PartitionUpdateCounter.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 |
IgniteCacheOffheapManagerImpl.CacheDataStoreImpl.updateTxState(GridCacheContext cctx,
CacheSearchRow row) |
void |
IgniteCacheOffheapManager.CacheDataStore.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[] |
CacheObject.valueBytes(CacheObjectValueContext ctx) |
byte[] |
CacheObjectImpl.valueBytes(CacheObjectValueContext ctx) |
byte[] |
KeyCacheObjectImpl.valueBytes(CacheObjectValueContext ctx) |
byte[] |
CacheObjectByteArrayImpl.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.
|
protected byte[] |
CacheObjectAdapter.valueBytesFromValue(CacheObjectValueContext ctx) |
int |
CacheObjectAdapter.valueBytesLength(CacheObjectContext ctx) |
int |
CacheObject.valueBytesLength(CacheObjectContext ctx) |
int |
CacheObjectByteArrayImpl.valueBytesLength(CacheObjectContext ctx) |
protected Object |
CacheObjectAdapter.valueFromValueBytes(CacheObjectValueContext ctx,
ClassLoader ldr) |
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).
|
void |
GridLocalConfigManager.writeCacheData(StoredCacheData cacheData,
File conf) |
protected void |
WalStateManager.WALDisableContext.writeMetaStoreDisableWALFlag() |
| Constructor and Description |
|---|
DynamicCacheChangeFailureMessage(ClusterNode locNode,
GridDhtPartitionExchangeId exchId,
IgniteCheckedException cause,
Collection<String> cacheNames)
Creates new DynamicCacheChangeFailureMessage instance.
|
| Constructor and Description |
|---|
GridLocalConfigManager(GridCacheProcessor cacheProcessor,
GridKernalContext kernalCtx) |
| Modifier and Type | Method and Description |
|---|---|
void |
CacheObjectBinaryProcessorImpl.cacheMetadataLocally(File metadataDir,
int typeId)
Merge the binary metadata file stored in the specified directory.
|
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) |
void |
CacheObjectBinaryProcessorImpl.updateMetadata(File metadataDir,
BooleanSupplier stopChecker)
Merge the binary metadata files stored in the specified directory.
|
| 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 |
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 |
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 |
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 |
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 |
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 |
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 |
GridDistributedTxRemoteAdapter.forceCommit()
Forces commit for this tx.
|
long |
GridDistributedCacheAdapter.localSizeLong(CachePeekMode[] peekModes) |
long |
GridDistributedCacheAdapter.localSizeLong(int part,
CachePeekMode[] peekModes) |
void |
GridDistributedTxPrepareResponse.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 |
GridDistributedTxPrepareRequest.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 |
GridDistributedLockRequest.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridCacheTtlUpdateRequest.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 |
|---|---|
IgniteCheckedException |
GridDhtAffinityAssignmentResponse.affinityAssignmentsError()
Returns error that caused failure to get affinity assignments.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridDhtAffinityAssignmentResponse.affinityAssignmentsError(IgniteCheckedException err)
Error that caused failure to get affinity assignments.
|
| 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 UpdateSourceIterator<?> |
GridDhtTxQueryEnlistFuture.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.
|
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 |
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 |
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 |
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. |
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 |
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 |
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 |
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 |
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 |
GridInvokeValue.finishUnmarshal(GridCacheSharedContext ctx,
ClassLoader ldr)
Unmarshalls invoke value.
|
GridDhtTxLocal |
GridDhtTransactionalCacheAdapter.initTxTopologyVersion(UUID nodeId,
ClusterNode nearNode,
GridCacheVersion nearLockVer,
IgniteUuid nearFutId,
int nearMiniId,
boolean firstClientReq,
AffinityTopologyVersion topVer,
long nearThreadId,
long timeout,
int txTaskNameHash,
MvccSnapshot snapshot) |
boolean |
GridDhtTxLocalAdapter.localFinish(boolean commit,
boolean clearThreadMap)
Finishes transaction (either commit or rollback).
|
boolean |
GridDhtTxLocal.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 |
GridDhtTransactionalCacheAdapter.onKernalStart()
Kernal start callback.
|
void |
GridDhtCacheAdapter.onKernalStart()
Kernal start callback.
|
void |
GridInvokeValue.prepareMarshal(GridCacheContext ctx)
Marshalls invoke value.
|
void |
GridDhtTxQueryEnlistRequest.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridDhtTxFinishResponse.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 |
GridDhtTxPrepareRequest.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 |
GridDhtAffinityAssignmentResponse.prepareMarshal(GridCacheSharedContext ctx) |
void |
GridDhtTxPrepareResponse.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 |
GridDhtUnlockRequest.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridDhtTxLocal.rollbackDhtLocal() |
void |
GridDhtCache.start()
Starts this cache.
|
protected @Nullable Object[] |
GridInvokeValue.unmarshalInvokeArguments(@Nullable byte[][] byteCol,
GridCacheSharedContext ctx,
ClassLoader ldr) |
| Modifier and Type | Method and Description |
|---|---|
IgniteCheckedException |
GridNearAtomicUpdateResponse.error() |
IgniteCheckedException |
GridDhtAtomicUpdateResponse.error() |
IgniteCheckedException |
UpdateErrors.error() |
| Modifier and Type | Method and Description |
|---|---|
void |
GridNearAtomicUpdateResponse.error(IgniteCheckedException err)
Sets update error.
|
void |
GridDhtAtomicUpdateResponse.onError(IgniteCheckedException err)
Sets update error.
|
void |
UpdateErrors.onError(IgniteCheckedException err) |
| 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 |
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 |
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 |
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 |
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. |
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 |
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 |
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 |
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 |
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. |
protected Map<K,V> |
GridDhtAtomicCache.getAll(Collection<? extends K> keys,
boolean deserializeBinary,
boolean needVer,
boolean recovery,
ReadRepairStrategy readRepairStrategy) |
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 |
GridDhtAtomicCache.onKernalStart()
Kernal start callback.
|
void |
GridDhtAtomicSingleUpdateRequest.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 |
GridDhtAtomicUpdateRequest.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.
|
void |
GridNearAtomicSingleUpdateFilterRequest.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 |
GridDhtAtomicUpdateResponse.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 |
GridNearAtomicSingleUpdateRequest.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 void |
GridDhtDetachedCacheEntry.logUpdate(GridCacheOperation op,
CacheObject val,
GridCacheVersion writeVer,
long expireTime,
long updCntr,
boolean primary) |
void |
GridDhtColocatedCache.onKernalStart()
Kernal start callback.
|
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 |
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 |
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 |
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 |
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. |
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 |
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 |
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. |
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 |
GridDhtPartitionDemandMessage.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 |
GridDhtForceKeysResponse.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 |
GridDhtPartitionSupplyMessageV2.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
GridDhtPartitionDemandLegacyMessage.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 |
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 |
GridDhtPartitionTopology.afterExchange(GridDhtPartitionsExchangeFuture exchFut)
Post-initializes this topology.
|
boolean |
GridClientPartitionTopology.afterExchange(GridDhtPartitionsExchangeFuture exchFut)
Post-initializes this topology.
|
void |
GridDhtPartitionTopology.beforeExchange(GridDhtPartitionsExchangeFuture exchFut,
boolean affReady,
boolean updateMoving)
Pre-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.
|
GridDhtLocalPartition |
GridDhtPartitionTopology.forceCreatePartition(int p)
Unconditionally creates partition during restore of persisted partition state.
|
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.
|
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 |
GridNearTxFinishAndAckFuture.onNodeStop(IgniteCheckedException e) |
void |
GridNearTxFinishFuture.onNodeStop(IgniteCheckedException e) |
void |
NearTxFinishFuture.onNodeStop(IgniteCheckedException e) |
void |
GridNearTxFastFinishFuture.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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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. |
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. |
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) |
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. |
int |
GridNearCacheEntry.memorySize() |
void |
GridNearAtomicCache.onKernalStart()
Kernal start callback.
|
void |
GridNearTransactionalCache.onKernalStart()
Kernal start callback.
|
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 |
GridNearTxQueryEnlistResponse.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 |
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 |
GridNearSingleGetResponse.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 |
GridNearSingleGetRequest.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 |
GridNearTxQueryResultsEnlistRequest.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.
|
void |
GridNearTxPrepareResponse.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,
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 |
GridNearCacheAdapter.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 |
|---|---|
protected static class |
GridNearReadRepairAbstractFuture.IgniteConsistencyCheckFailedException |
protected static class |
GridNearReadRepairAbstractFuture.IgniteConsistencyRepairFailedException |
class |
IgniteAtomicConsistencyViolationException
Atomic consistency violation exception.
|
class |
IgniteConsistencyViolationException
Consistency violation exception.
|
class |
IgniteIrreparableConsistencyViolationException
Irreparable consistency violation exception.
|
class |
IgniteTransactionalConsistencyViolationException
Consistency violation exception.
|
| Modifier and Type | Method and Description |
|---|---|
protected Map<KeyCacheObject,EntryGetResult> |
GridNearReadRepairAbstractFuture.check()
Checks consistency.
|
protected Map<KeyCacheObject,EntryGetResult> |
GridNearReadRepairAbstractFuture.correct(Set<KeyCacheObject> keys)
Calculates correct values.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridCacheDrManager.onExchange(AffinityTopologyVersion topVer,
boolean left,
boolean activate)
Process partitions exchange event.
|
void |
GridOsCacheDrManager.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 |
|---|---|
abstract void |
CacheJtaManagerAdapter.checkJta()
Checks if cache is working in JTA transaction and enlist cache as XAResource if necessary.
|
void |
CacheNoopJtaManager.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 |
|---|---|
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 |
MvccProcessorImpl.ensureStarted()
Starts MVCC processor (i.e. initialises data structures and vacuum) if it has not been started yet.
|
void |
MvccProcessor.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(CheckpointListener.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(CheckpointListener.Context ctx) |
void |
TxLog.onMarkCheckpointBegin(CheckpointListener.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,
@Nullable IgniteWriteAheadLogManager wal,
long metaPageId,
ReuseList reuseList,
FailureProcessor failureProcessor,
boolean initNew,
PageLockTrackerManager pageLockTrackerManager) |
| Modifier and Type | Class and Description |
|---|---|
class |
CorruptedDataStructureException
Abstract exception when
DataStructure are corrupted. |
class |
CorruptedPartitionMetaPageException
Exception to distinguish partition meta page broken invariants.
|
class |
StorageException
Exception is needed to distinguish WAL manager & page store critical I/O errors.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CacheStripedExecutor.onError(IgniteCheckedException e) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
DataStructure.acquirePage(long pageId,
IoStatisticsHolder statHolder) |
DataRegion |
IgniteCacheDatabaseSharedManager.addDataRegion(DataStorageConfiguration dataStorageCfg,
DataRegionConfiguration dataRegionCfg,
boolean trackable) |
protected DataRegion |
IgniteCacheDatabaseSharedManager.addDataRegion(DataStorageConfiguration dataStorageCfg,
DataRegionConfiguration dataRegionCfg,
boolean trackable,
PageReadWriteManager pmPageMgr) |
DataRegion |
GridCacheDatabaseSharedManager.addDataRegion(DataStorageConfiguration dataStorageCfg,
DataRegionConfiguration dataRegionCfg,
boolean trackable,
PageReadWriteManager pmPageMgr) |
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 |
IndexStorageImpl.allocateCacheIndex(Integer cacheId,
String idxName,
int segment)
Allocate page for cache index.
|
RootPage |
IndexStorage.allocateCacheIndex(Integer cacheId,
String idxName,
int segment)
Allocate page for cache index.
|
RootPage |
IndexStorageImpl.allocateIndex(String idxName)
Get or allocate initial page for an index.
|
RootPage |
IndexStorage.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() |
boolean |
GridCacheDatabaseSharedManager.applyDataEntry(GridCacheContext<?,?> cacheCtx,
GridDhtLocalPartition locPart,
DataEntry dataEntry)
Applies data entry.
|
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.
|
void |
CacheStripedExecutor.awaitApplyComplete()
Awaits while all submitted tasks completed.
|
default void |
DatabaseLifecycleListener.beforeBinaryMemoryRestore(IgniteCacheDatabaseSharedManager mgr)
Callback executed right before node become perform binary recovery.
|
void |
GridCacheOffheapManager.beforeCheckpointBegin(CheckpointListener.Context ctx)
Do some actions before checkpoint write lock.
|
void |
IgniteCacheDatabaseSharedManager.beforeExchange(GridDhtPartitionsExchangeFuture discoEvt) |
void |
GridCacheDatabaseSharedManager.beforeExchange(GridDhtPartitionsExchangeFuture fut) |
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) |
boolean |
GridCacheDatabaseSharedManager.cancelOrWaitPartitionDestroy(int grpId,
int partId)
Cancels or wait for partition destroy.
|
protected void |
IgniteCacheDatabaseSharedManager.checkRegionEvictionProperties(DataRegionConfiguration regCfg,
DataStorageConfiguration dbCfg) |
protected void |
GridCacheDatabaseSharedManager.checkRegionEvictionProperties(DataRegionConfiguration regCfg,
DataStorageConfiguration dbCfg) |
int |
GridCacheOffheapManager.GridCacheDataStore.cleanup(GridCacheContext cctx,
@Nullable List<MvccLinkAwareSearchRow> cleanupRows) |
void |
IgniteCacheDatabaseSharedManager.cleanupCheckpointDirectory()
Clean checkpoint directory
CheckpointMarkersStorage.cpDir. |
void |
GridCacheDatabaseSharedManager.cleanupCheckpointDirectory()
Clean checkpoint directory
CheckpointMarkersStorage.cpDir. |
void |
IgniteCacheDatabaseSharedManager.cleanupTempCheckpointDirectory()
No-op for non-persistent storage.
|
void |
GridCacheDatabaseSharedManager.cleanupTempCheckpointDirectory()
Cleanup checkpoint directory from all temporary files.
|
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) |
@Nullable DataRegion |
IgniteCacheDatabaseSharedManager.dataRegion(@Nullable String memPlcName)
Getting data region by name.
|
void |
IndexStorageImpl.destroy()
Destroy this meta store.
|
void |
IndexStorage.destroy()
Destroy this meta store.
|
void |
GridCacheOffheapManager.GridCacheDataStore.destroy()
Destroys the tree associated with the store.
|
protected void |
GridCacheOffheapManager.destroyCacheDataStore0(IgniteCacheOffheapManager.CacheDataStore store) |
void |
GridCacheOffheapManager.destroyPartitionStore(int partId)
Invalidates page memory for given partition.
|
@Nullable RootPage |
IndexStorageImpl.dropCacheIndex(Integer cacheId,
String idxName,
int segment)
Deallocate index page and remove from tree.
|
@Nullable RootPage |
IndexStorage.dropCacheIndex(Integer cacheId,
String idxName,
int segment)
Deallocate index page and remove from tree.
|
@Nullable RootPage |
IndexStorageImpl.dropIndex(String idxName)
Deallocate index page and remove from tree.
|
@Nullable RootPage |
IndexStorage.dropIndex(String idxName)
Deallocate index page and remove from tree.
|
@Nullable RootPage |
GridCacheOffheapManager.dropRootPageForIndex(int cacheId,
String idxName,
int segment)
Dropping the root page of the index tree.
|
void |
IgniteCacheDatabaseSharedManager.ensureFreeSpace(DataRegion memPlc)
See
GridCacheMapEntry#ensureFreeSpace() |
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) |
@Nullable RootPage |
IndexStorageImpl.findCacheIndex(Integer cacheId,
String idxName,
int segment)
Find index root.
|
@Nullable RootPage |
IndexStorage.findCacheIndex(Integer cacheId,
String idxName,
int segment)
Find index root.
|
@Nullable RootPage |
GridCacheOffheapManager.findRootPageForIndex(int cacheId,
String idxName,
int segment) |
Collection<String> |
IndexStorageImpl.getIndexNames() |
Collection<String> |
IndexStorage.getIndexNames() |
IndexStorageImpl.IndexItem |
IndexStorageImpl.MetaStoreInnerIO.getLookupRow(BPlusTree<IndexStorageImpl.IndexItem,?> tree,
long pageAddr,
int idx)
Get lookup row.
|
IndexStorageImpl.IndexItem |
IndexStorageImpl.MetaStoreLeafIO.getLookupRow(BPlusTree<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.initDataRegions(DataStorageConfiguration memCfg) |
protected void |
IgniteCacheDatabaseSharedManager.initDataRegions0(DataStorageConfiguration memCfg) |
protected void |
GridCacheDatabaseSharedManager.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.
|
void |
CacheDataRowAdapter.initFromPageBuffer(GridCacheSharedContext<?,?> sctx,
CacheObjectContext coctx,
IgniteThrowableFunction<Long,ByteBuffer> reader,
ByteBuffer pageBuff,
int itemId,
boolean readCacheId,
CacheDataRowAdapter.RowData rowData,
boolean skipVer) |
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.
|
@Nullable WALRecord |
GridCacheDatabaseSharedManager.RestoreBinaryState.next()
Advance iterator to the next record.
|
void |
IgniteCacheDatabaseSharedManager.notifyMetaStorageSubscribersOnReadyForRead()
Notifies
MetastorageLifecycleListener that MetaStorage is ready for read. |
void |
GridCacheDatabaseSharedManager.notifyMetaStorageSubscribersOnReadyForRead()
Notifies
MetastorageLifecycleListener that MetaStorage is ready for read. |
void |
IgniteCacheDatabaseSharedManager.onActivate(GridKernalContext kctx)
Called when cluster performing activation.
|
void |
GridCacheDatabaseSharedManager.onActivate(GridKernalContext ctx)
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(CheckpointListener.Context ctx) |
default void |
DatabaseLifecycleListener.onInitDataRegions(IgniteCacheDatabaseSharedManager mgr)
Callback executed when data regions become to start-up.
|
void |
GridCacheOffheapManager.onMarkCheckpointBegin(CheckpointListener.Context ctx) |
void |
IgniteCacheDatabaseSharedManager.onStateRestored(AffinityTopologyVersion topVer)
Called when all partitions have been fully restored and pre-created on node start.
|
void |
GridCacheDatabaseSharedManager.onStateRestored(AffinityTopologyVersion topVer)
Called when all partitions have been fully restored and pre-created on node start.
|
void |
IgniteCacheDatabaseSharedManager.onWalTruncated(WALPointer highBound)
Wal truncate callback.
|
void |
GridCacheDatabaseSharedManager.onWalTruncated(@Nullable WALPointer highBound)
Wal truncate callback.
|
void |
GridCacheOffheapManager.GridCacheDataStore.preload()
Preload a store into page memory.
|
void |
GridCacheOffheapManager.preloadPartition(int partId)
Preload a partition.
|
void |
GridCacheDatabaseSharedManager.preserveWalTailPointer() |
int |
GridCacheOffheapManager.GridCacheDataStore.purgeExpired(GridCacheContext cctx,
IgniteInClosure2X<GridCacheEntryEx,GridCacheVersion> c,
long throttlingTimeout,
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 IncompleteObject<?> |
CacheDataRowAdapter.readIncomplete(IncompleteObject<?> incomplete,
GridCacheSharedContext<?,?> sharedCtx,
CacheObjectContext coctx,
int pageSize,
int realPageSize,
long pageAddr,
int itemId,
DataPageIO io,
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) |
static @Nullable Map<Integer,Long> |
GridCacheOffheapManager.readSharedGroupCacheSizes(PageSupport pageMem,
int grpId,
long cntrsPageId)
Loads cache sizes for all caches in shared group.
|
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) |
@Nullable RootPage |
IndexStorageImpl.renameCacheIndex(Integer cacheId,
String oldIdxName,
String newIdxName,
int segment)
Renaming the root page of the index tree.
|
@Nullable RootPage |
IndexStorage.renameCacheIndex(Integer cacheId,
String oldIdxName,
String newIdxName,
int segment)
Renaming the root page of the index tree.
|
@Nullable RootPage |
GridCacheOffheapManager.renameRootPageForIndex(int cacheId,
String oldIdxName,
String newIdxName,
int segment)
Renaming the root page of the index tree.
|
void |
GridCacheOffheapManager.restorePartitionStates()
Pre-create partitions that resides in page memory or WAL and restores their state.
|
long |
GridCacheOffheapManager.restoreStateOfPartition(int p,
@Nullable Integer recoveryState)
Pre-create single partition that resides in page memory or WAL and restores their state.
|
void |
GridCacheDatabaseSharedManager.resumeWalLogging() |
RootPage |
GridCacheOffheapManager.rootPageForIndex(int cacheId,
String idxName,
int segment) |
int |
CacheDataRowAdapter.size() |
int |
Storable.size() |
protected void |
IgniteCacheDatabaseSharedManager.start0() |
protected void |
GridCacheDatabaseSharedManager.start0() |
void |
IgniteCacheDatabaseSharedManager.startMemoryRestore(GridKernalContext kctx,
TimeBag startTimer)
Perform memory restore before
GridDiscoveryManager start. |
void |
GridCacheDatabaseSharedManager.startMemoryRestore(GridKernalContext kctx,
TimeBag startTimer)
Perform memory restore before
GridDiscoveryManager start. |
void |
IndexStorageImpl.MetaStoreInnerIO.store(long dstPageAddr,
int dstIdx,
BPlusIO<IndexStorageImpl.IndexItem> srcIo,
long srcPageAddr,
int srcIdx)
Store row info from the given source.
|
void |
IndexStorageImpl.MetaStoreLeafIO.store(long dstPageAddr,
int dstIdx,
BPlusIO<IndexStorageImpl.IndexItem> srcIo,
long srcPageAddr,
int srcIdx)
Store row info from the given source.
|
void |
IndexStorageImpl.MetaStoreInnerIO.storeByOffset(long pageAddr,
int off,
IndexStorageImpl.IndexItem row)
Store the needed info about the row in the page.
|
void |
IndexStorageImpl.MetaStoreLeafIO.storeByOffset(long buf,
int off,
IndexStorageImpl.IndexItem row)
Store the needed info about the row in the page.
|
void |
GridCacheDatabaseSharedManager.stripedApplyPage(Consumer<PageMemoryEx> consumer,
int grpId,
int partId,
CacheStripedExecutor exec) |
void |
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 |
IgniteCacheDatabaseSharedManager.waitForCheckpoint(String reason,
IgniteInClosure<? super IgniteInternalFuture<R>> lsnr)
Waits until current state is checkpointed and execution listeners after finish.
|
<R> void |
GridCacheDatabaseSharedManager.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.
|
static long |
GridCacheOffheapManager.writeSharedGroupCacheSizes(PageMemory pageMem,
int grpId,
long cntrsPageId,
int partId,
Map<Integer,Long> sizes)
Saves cache sizes for all caches in shared group.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
CheckpointListener.afterCheckpointEnd(CheckpointListener.Context ctx)
Do some actions after checkpoint end.
|
void |
CheckpointContextImpl.awaitPendingTasksFinished()
Await all async tasks from executor was finished.
|
void |
CheckpointListener.beforeCheckpointBegin(CheckpointListener.Context ctx)
Do some actions before checkpoint write lock.
|
boolean |
CheckpointManager.cancelOrWaitPartitionDestroy(int grpId,
int partId) |
boolean |
Checkpointer.cancelOrWaitPartitionDestroy(int grpId,
int partId) |
boolean |
LightweightCheckpointManager.cancelOrWaitPartitionDestroy(int grpId,
int partId) |
void |
CheckpointMarkersStorage.cleanupCheckpointDirectory()
Cleanup checkpoint directory from all temporary files.
|
void |
CheckpointManager.cleanupCheckpointDirectory()
Clean checkpoint directory
CheckpointMarkersStorage.cpDir. |
void |
CheckpointMarkersStorage.cleanupTempCheckpointDirectory()
Cleanup checkpoint directory from all temporary files.
|
void |
CheckpointManager.cleanupTempCheckpointDirectory()
Cleanup checkpoint directory from all temporary files.
|
void |
CheckpointManager.finalizeCheckpointOnRecovery(long ts,
UUID id,
WALPointer ptr,
StripedExecutor exec) |
void |
Checkpointer.finalizeCheckpointOnRecovery(long cpTs,
UUID cpId,
WALPointer walPtr,
StripedExecutor exec) |
void |
LightweightCheckpointManager.finalizeCheckpointOnRecovery(long ts,
UUID id,
WALPointer ptr,
StripedExecutor exec) |
void |
CheckpointWorkflow.finalizeCheckpointOnRecovery(long cpTs,
UUID cpId,
WALPointer walPtr,
StripedExecutor exec,
CheckpointPagesWriterFactory checkpointPagesWriterFactory)
This method makes sense if node was stopped during the checkpoint(Start marker was written to disk while end
marker are not).
|
Map<Integer,CheckpointEntry.GroupState> |
CheckpointEntry.groupState(IgniteWriteAheadLogManager wal) |
void |
CheckpointMarkersStorage.initialize()
Filling internal structures with data from disk.
|
void |
CheckpointManager.initializeStorage()
Initialize checkpoint storage.
|
boolean |
CheckpointHistory.isCheckpointApplicableForGroup(int grpId,
CheckpointEntry cp)
Checkpoint is not applicable when: 1) WAL was disabled somewhere after given checkpoint. 2) Checkpoint doesn't
contain specified
grpId. |
org.apache.ignite.internal.processors.cache.persistence.checkpoint.Checkpoint |
CheckpointWorkflow.markCheckpointBegin(long cpTs,
CheckpointProgressImpl curr,
CheckpointMetricsTracker tracker,
WorkProgressDispatcher workProgressDispatcher)
First stage of checkpoint which collects demanded information(dirty pages mostly).
|
void |
CheckpointWorkflow.markCheckpointEnd(org.apache.ignite.internal.processors.cache.persistence.checkpoint.Checkpoint chp)
Do some actions on checkpoint finish(After all pages were written to disk).
|
void |
CheckpointListener.onCheckpointBegin(CheckpointListener.Context ctx) |
void |
CheckpointMarkersStorage.onCheckpointFinished(org.apache.ignite.internal.processors.cache.persistence.checkpoint.Checkpoint chp)
Logs and clears checkpoint history after checkpoint finish.
|
void |
CheckpointListener.onMarkCheckpointBegin(CheckpointListener.Context ctx) |
Long |
CheckpointEntry.partitionCounter(IgniteWriteAheadLogManager wal,
int grpId,
int part) |
CheckpointStatus |
CheckpointMarkersStorage.readCheckpointStatus() |
CheckpointStatus |
CheckpointManager.readCheckpointStatus() |
void |
CheckpointMarkersStorage.removeCheckpointsUntil(@Nullable WALPointer highBound)
Wal truncate callback.
|
void |
CheckpointManager.removeCheckpointsUntil(@Nullable WALPointer highBound)
Wal truncate callback.
|
@Nullable WALPointer |
CheckpointHistory.searchEarliestWalPointer(int grpId,
Map<Integer,Long> partsCounter,
long margin)
Search the earliest WAL pointer for particular group, matching by counter for partitions.
|
void |
PartitionDestroyRequest.waitCompleted() |
PageStore |
CheckpointPagesWriter.CheckpointPageWriter.write(PageMemoryEx pageMemEx,
FullPageId fullPageId,
ByteBuffer buf,
int tag) |
| Constructor and Description |
|---|
CheckpointManager(Function<Class<?>,IgniteLogger> logger,
String igniteInstanceName,
String checkpointThreadName,
IgniteWriteAheadLogManager wal,
WorkersRegistry workersRegistry,
DataStorageConfiguration persistenceCfg,
FilePageStoreManager pageStoreManager,
IgniteThrowableBiPredicate<Long,Integer> checkpointInapplicableChecker,
Supplier<Collection<DataRegion>> dataRegions,
Supplier<Collection<CacheGroupContext>> cacheGroupContexts,
IgniteThrowableFunction<Integer,PageMemoryEx> pageMemoryGroupResolver,
PageMemoryImpl.ThrottlingPolicy throttlingPolicy,
IgniteCacheSnapshotManager snapshotMgr,
DataStorageMetricsImpl persStoreMetrics,
LongJVMPauseDetector longJvmPauseDetector,
FailureProcessor failureProcessor,
GridCacheProcessor cacheProcessor,
Supplier<Integer> cpFreqDeviation,
Executor checkpointMapSnapshotExecutor) |
| Modifier and Type | Method and Description |
|---|---|
void |
CachePartitionDefragmentationManager.beforeDefragmentation() |
static void |
DefragmentationFileUtils.beforeInitPageStores(File workDir,
IgniteLogger log)
Performs cleanup of work dir before initializing file page stores.
|
IgniteDefragmentation.CancelResult |
IgniteDefragmentation.cancel()
Cancel scheduled or ongoing defragmentation.
|
IgniteDefragmentation.CancelResult |
IgniteDefragmentationImpl.cancel()
Cancel scheduled or ongoing defragmentation.
|
void |
CachePartitionDefragmentationManager.createIndexPageStore(int grpId,
File workDir,
FileVersionCheckingFactory pageStoreFactory,
DataRegion partRegion,
LongConsumer allocatedTracker) |
void |
CachePartitionDefragmentationManager.executeDefragmentation() |
long |
LinkMap.get(long oldLink)
Get new link by old link.
|
<L,T extends L> |
TreeIterator.iterate(BPlusTree<L,T> tree,
PageMemoryEx pageMemory,
BPlusTree.TreeRowClosure<L,T> c) |
void |
LinkMap.put(long oldLink,
long newLink)
Add link mapping.
|
IgniteDefragmentation.ScheduleResult |
IgniteDefragmentation.schedule(List<String> cacheNames)
Schedule defragmentaton on next start of the node.
|
IgniteDefragmentation.ScheduleResult |
IgniteDefragmentationImpl.schedule(List<String> cacheNames)
Schedule defragmentaton on next start of the node.
|
IgniteDefragmentation.DefragmentationStatus |
IgniteDefragmentation.status()
Get the status of the ongoing defragmentation.
|
IgniteDefragmentation.DefragmentationStatus |
IgniteDefragmentationImpl.status()
Get the status of the ongoing defragmentation.
|
| Constructor and Description |
|---|
CachePartitionDefragmentationManager(List<String> cacheNames,
GridCacheSharedContext<?,?> sharedCtx,
GridCacheDatabaseSharedManager dbMgr,
FilePageStoreManager filePageStoreMgr,
CheckpointManager nodeCheckpoint,
LightweightCheckpointManager defragmentationCheckpoint,
int pageSize,
int defragmentationThreadPoolSize) |
LinkMap(CacheGroupContext ctx,
PageMemory pageMem,
long metaPageId,
boolean initNew) |
LinkMap(int grpId,
String grpName,
PageMemory pageMem,
long metaPageId,
boolean initNew,
PageLockTrackerManager pageLockTrackerManager) |
| Modifier and Type | Method and Description |
|---|---|
static String |
ToFileDumpProcessor.toFileDump(SharedPageLockTrackerDump pageLockDump,
Path dir,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
RandomLruPageEvictionTracker.evictDataPage()
Evicts one data page.
|
void |
FairFifoPageEvictionTracker.evictDataPage()
Evicts one data page.
|
void |
NoOpPageEvictionTracker.evictDataPage()
Evicts one data page.
|
void |
PageEvictionTracker.evictDataPage()
Evicts one data page.
|
void |
Random2LruPageEvictionTracker.evictDataPage()
Evicts one data page.
|
void |
FairFifoPageEvictionTracker.forgetPage(long pageId)
Call this method when last entry is removed from data page.
|
void |
NoOpPageEvictionTracker.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 |
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 |
NoOpPageEvictionTracker.touchPage(long pageId)
Call this method when data page is accessed.
|
void |
PageEvictionTracker.touchPage(long pageId)
Call this method when data page is accessed.
|
void |
Random2LruPageEvictionTracker.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.
|
String |
FilePageStoreManager.cacheDirName(int grpId) |
static boolean |
FilePageStoreManager.checkAndInitCacheWorkDir(File cacheWorkDir,
IgniteLogger log) |
void |
FilePageStoreManager.cleanupPersistentSpace()
Cleanup persistent space for all caches except metastore.
|
void |
FilePageStoreManager.cleanupPersistentSpace(CacheConfiguration cacheConfiguration)
Cleanup persistent space for cache.
|
PageStore |
FileVersionCheckingFactory.createPageStore(byte type,
File file,
LongConsumer allocatedTracker)
Creates instance of PageStore based on given file.
|
PageStore |
FileVersionCheckingFactory.createPageStore(byte type,
IgniteOutClosure<Path> pathProvider,
LongConsumer 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 cacheName,
PageMetrics pageMetrics)
Initializes disk store structures.
|
void |
FilePageStoreManager.initializeForCache(CacheGroupDescriptor grpDesc,
CacheConfiguration<?,?> ccfg)
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.
|
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,
boolean keepCrc)
Reads a page for the given cache ID.
|
boolean |
FilePageStore.read(long pageId,
ByteBuffer pageBuf,
boolean keepCrc)
Reads a page.
|
boolean |
FilePageStore.read(long pageId,
ByteBuffer pageBuf,
boolean checkCrc,
boolean keepCrc) |
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.shutdownForCacheGroup(CacheGroupContext grp,
boolean destroy)
Callback called when a cache is stopping.
|
InetSocketAddress |
FileDownloader.start() |
void |
FilePageStoreManager.start0() |
void |
FilePageStoreManager.sync(int grpId,
int partId)
Makes sure that all previous writes to the store has been written to disk.
|
void |
FilePageStoreManager.truncate(int grpId,
int partId,
int tag)
Callback called when a partition for the given cache is evicted from the local node.
|
PageStore |
FilePageStoreManager.write(int grpId,
long pageId,
ByteBuffer pageBuf,
int tag,
boolean calculateCrc)
Writes the page for the given cache ID.
|
void |
FilePageStore.write(long pageId,
ByteBuffer pageBuf,
int tag,
boolean calculateCrc)
Writes a page.
|
| Modifier and Type | Method and Description |
|---|---|
PdsFolderSettings<L> |
PdsFolderResolver.generateNew() |
PdsFolderSettings<L> |
PdsFolderResolver.resolve()
Resolves
PdsFolderSettings according to specified IgniteConfiguration, PdsFolderResolver.consistentId. |
PdsFolderSettings<GridCacheDatabaseSharedManager.NodeFileLockHolder> |
PdsFoldersResolver.resolveFolders()
Prepares and caches PDS folder settings.
|
PdsFolderSettings<GridCacheDatabaseSharedManager.NodeFileLockHolder> |
PdsConsistentIdProcessor.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) |
long |
AbstractFreeList.initRecycledPage(long pageId,
byte flag,
PageIO initIO)
Converts recycled page id back to a usable id.
|
protected long |
PagesList.initRecycledPage0(long pageId,
byte flag,
PageIO initIO)
Create new page id and update page content accordingly if it's necessary.
|
protected long |
PagesList.initReusedPage(long reusedPageId,
long reusedPage,
long reusedPageAddr,
int partId,
byte flag,
PageIO initIo)
Reused page must obtain correctly assaembled 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 cacheGrpId,
String name,
DataRegion dataRegion,
@Nullable ReuseList reuseList,
@Nullable IgniteWriteAheadLogManager wal,
long metaPageId,
boolean initNew,
PageLockTrackerManager pageLockTrackerManager,
GridKernalContext ctx,
@Nullable AtomicLong pageListCacheLimit,
byte pageFlag) |
CacheFreeList(int cacheGrpId,
String name,
DataRegion dataRegion,
@Nullable IgniteWriteAheadLogManager wal,
long metaPageId,
boolean initNew,
PageLockTrackerManager pageLockTrackerManager,
GridKernalContext ctx,
@Nullable AtomicLong pageListCacheLimit,
byte pageFlag) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
PagesListNodeIO.printPage(long addr,
int pageSize,
GridStringBuilder sb) |
protected void |
PagesListMetaIO.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(CheckpointListener.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 |
MetastorageInnerIO.getDataRow(long pageAddr,
int idx,
MetastorageRowStore rowStore) |
MetastorageDataRow |
MetastorageLeafIO.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 |
MetastorageInnerIO.getKey(long pageAddr,
int idx,
MetastorageRowStore rowStore) |
String |
MetastorageLeafIO.getKey(long pageAddr,
int idx,
MetastorageRowStore rowStore) |
MetastorageRow |
MetastorageInnerIO.getLookupRow(BPlusTree<MetastorageRow,?> tree,
long pageAddr,
int idx)
Get lookup row.
|
MetastorageRow |
MetastorageLeafIO.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(CheckpointListener.Context ctx) |
void |
MetaStorage.onMarkCheckpointBegin(CheckpointListener.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 |
MetaStorage.remove(@NotNull String key) |
void |
ReadWriteMetastorage.remove(@NotNull String key) |
void |
MetaStorage.removeData(String key) |
void |
MetastorageRowStore.removeRow(long link) |
void |
MetaStorage.write(@NotNull String key,
@NotNull Serializable val) |
void |
ReadWriteMetastorage.write(@NotNull String key,
@NotNull Serializable val) |
void |
MetaStorage.writeRaw(String key,
byte[] data) |
void |
ReadWriteMetastorage.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,
PageLockTrackerManager pageLockTrackerManager,
int partId) |
| 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 |
PageReadWriteManager.allocatePage(int grpId,
int partId,
byte flags)
Allocates a page for the given page space.
|
long |
PageReadWriteManagerImpl.allocatePage(int grpId,
int partId,
byte flags)
Allocates a page for the given page space.
|
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.
|
void |
PageReadWriteManager.read(int grpId,
long pageId,
ByteBuffer pageBuf,
boolean keepCrc)
Reads a page for the given cache ID.
|
void |
PageReadWriteManagerImpl.read(int grpId,
long pageId,
ByteBuffer pageBuf,
boolean keepCrc)
Reads a page for the given cache ID.
|
abstract long |
PageReplacementPolicy.replace()
Finds page to replace.
|
long |
SegmentedLruPageReplacementPolicy.replace()
Finds page to replace.
|
long |
ClockPageReplacementPolicy.replace()
Finds page to replace.
|
long |
RandomLruPageReplacementPolicy.replace()
Finds page to replace.
|
PageStore |
PageReadWriteManager.write(int grpId,
long pageId,
ByteBuffer pageBuf,
int tag,
boolean calculateCrc)
Writes the page for the given cache ID.
|
PageStore |
PageReadWriteManagerImpl.write(int grpId,
long pageId,
ByteBuffer pageBuf,
int tag,
boolean calculateCrc)
Writes the page for the given cache ID.
|
| 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 cacheGrpId,
String name,
DataRegion memPlc,
@Nullable ReuseList reuseList,
@Nullable IgniteWriteAheadLogManager wal,
long metaPageId,
boolean initNew,
PageLockTrackerManager pageLockTrackerManager,
GridKernalContext ctx,
@Nullable AtomicLong pageListCacheLimit,
byte pageFlag) |
| Modifier and Type | Class and Description |
|---|---|
class |
SnapshotWarningException
Snapshot operation warning.
|
class |
TrackingPageIsCorruptedException
Thrown when corrupted tracking page was queried.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SnapshotRestoreProcess.interrupt(IgniteCheckedException reason)
Interrupt the currently running local restore procedure.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
AbstractSnapshotVerificationTask.checkMissedMetadata(Collection<SnapshotMetadata> clusterMetas)
Ensures that all parts of the snapshot are available according to the metadata.
|
protected void |
SnapshotRestoreProcess.cleanup()
Cleanup temporary directories if any exists.
|
void |
SnapshotPartitionsQuickVerifyHandler.complete(String name,
Collection<SnapshotHandlerResult<Map<PartitionKeyV2,PartitionHashRecordV2>>> results)
Processing the results of the
SnapshotHandler.invoke(SnapshotHandlerContext) method received from all nodes. |
void |
SnapshotPartitionsVerifyHandler.complete(String name,
Collection<SnapshotHandlerResult<Map<PartitionKeyV2,PartitionHashRecordV2>>> results)
Processing the results of the
SnapshotHandler.invoke(SnapshotHandlerContext) method received from all nodes. |
StandaloneGridKernalContext |
IgniteSnapshotManager.createStandaloneKernalContext(CompressionProcessor cmpProc,
File snpDir,
String folderName) |
void |
IncrementalSnapshotAwareMessage.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. |
Map<PartitionKeyV2,PartitionHashRecordV2> |
SnapshotPartitionsQuickVerifyHandler.invoke(SnapshotHandlerContext opCtx)
Local processing of a snapshot operation.
|
Map<PartitionKeyV2,PartitionHashRecordV2> |
SnapshotPartitionsVerifyHandler.invoke(SnapshotHandlerContext opCtx)
Local processing of a snapshot operation.
|
protected @Nullable Map<String,SnapshotHandlerResult<Object>> |
IgniteSnapshotManager.SnapshotHandlers.invokeAll(SnapshotHandlerType type,
SnapshotHandlerContext ctx) |
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.
|
GridCloseableIterator<CacheDataRow> |
IgniteSnapshotManager.partitionRowIterator(GridKernalContext ctx,
String grpName,
int partId,
FilePageStore pageStore) |
GridCloseableIterator<CacheDataRow> |
IgniteSnapshotManager.partitionRowIterator(String snpName,
String folderName,
String grpName,
int partId,
@Nullable EncryptionCacheKeyProvider encrKeyProvider) |
void |
IncrementalSnapshotAwareMessage.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
<T> T |
IgniteSnapshotManager.readFromFile(File smf) |
IncrementalSnapshotMetadata |
IgniteSnapshotManager.readIncrementalSnapshotMetadata(String snpName,
@Nullable String snpPath,
int incIdx) |
SnapshotMetadata |
IgniteSnapshotManager.readSnapshotMetadata(File snpDir,
String consId) |
IgniteInternalFuture<Void> |
IgniteSnapshotManager.requestRemoteSnapshotFiles(UUID rmtNodeId,
UUID reqId,
String snpName,
@Nullable String rmtSnpPath,
Map<Integer,Set<Integer>> parts,
BooleanSupplier stopChecker,
BiConsumer<File,Throwable> partHnd) |
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.
|
| Constructor and Description |
|---|
SnapshotFinishedFutureTask(IgniteCheckedException e) |
| 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) |
T |
BPlusTree.TreeRowFactory.create(BPlusTree<L,T> tree,
BPlusIO<L> io,
long pageAddr,
int idx)
Creates row.
|
long |
BPlusTree.destroy()
Destroys tree.
|
long |
BPlusTree.destroy(@Nullable IgniteInClosure<L> c,
boolean forceDestroy)
Destroys tree.
|
protected long |
BPlusTree.destroyDownPages(LongListReuseBag bag,
long pageId,
int lvl,
@Nullable IgniteInClosure<L> c,
AtomicLong lockHoldStartTime,
long lockMaxTime,
Deque<GridTuple3<Long,Long,Long>> lockedPages)
Recursively destroys tree pages.
|
protected void |
BPlusTree.Remove.doRemove(long pageId,
long page,
long pageAddr,
Boolean walPlc,
BPlusIO<L> io,
int cnt,
int idx) |
protected BPlusTree.Result |
BPlusTree.Remove.doRemoveFromLeaf() |
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,
boolean lowIncl,
boolean upIncl,
BPlusTree.TreeRowClosure<L,T> c,
BPlusTree.TreeRowFactory<L,T> rowFactory,
Object x) |
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) |
protected BPlusTree.Result |
BPlusTree.Put.finishOrLockTail(long pageId,
long page,
long backId,
long fwdId,
int lvl)
Method that's invoked when operation goes up from the recursion and
BPlusTree.Get.isFinished() returns false. |
protected BPlusTree.Result |
BPlusTree.Remove.finishOrLockTail(long pageId,
long page,
long backId,
long fwdId,
int lvl)
Method that's invoked when operation goes up from the recursion and
BPlusTree.Get.isFinished() returns false. |
protected BPlusTree.Result |
BPlusTree.Put.finishTail()
Process tail and finish.
|
protected BPlusTree.Result |
BPlusTree.Remove.finishTail()
Process tail and finish.
|
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) |
protected BPlusTree.Result |
BPlusTree.Remove.lockForward(int lvl) |
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) |
List<L> |
BPlusTree.remove(L lower,
L upper,
int limit) |
protected void |
BPlusTree.Remove.removeDataRowFromLeaf(long pageId,
long page,
long pageAddr,
Boolean walPlc,
BPlusIO<L> io,
int cnt,
int idx) |
protected void |
BPlusTree.RemoveRange.removeDataRowFromLeaf(long pageId,
long page,
long pageAddr,
Boolean walPlc,
BPlusIO<L> io,
int cnt,
int idx) |
boolean |
BPlusTree.removex(L row) |
void |
BPlusTree.Put.replaceRowInPage(BPlusIO<L> io,
long pageId,
long page,
long pageAddr,
int idx)
Replaces a row in the page with a new one.
|
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 cacheGrpName,
PageMemory pageMem,
@Nullable IgniteWriteAheadLogManager wal,
AtomicLong globalRmvId,
long metaPageId,
@Nullable ReuseList reuseList,
IOVersions<? extends BPlusInnerIO<L>> innerIos,
IOVersions<? extends BPlusLeafIO<L>> leafIos,
byte pageFlag,
@Nullable FailureProcessor failureProcessor,
PageLockTrackerManager pageLockTrackerManager) |
| 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.
|
void |
BPlusLeafIO.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.
|
<U> List<U> |
AbstractDataPageIO.forAllItems(long pageAddr,
AbstractDataPageIO.CC<U> 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,
PageMetrics metrics) |
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 |
PageMetaIO.printPage(long addr,
int pageSize,
GridStringBuilder sb) |
protected void |
PagePartitionCountersIO.printPage(long addr,
int pageSize,
GridStringBuilder sb) |
protected void |
PagePartitionMetaIO.printPage(long pageAddr,
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 |
SimpleDataPageIO.printPage(long addr,
int pageSize,
GridStringBuilder sb) |
protected void |
BPlusMetaIO.printPage(long addr,
int pageSize,
GridStringBuilder sb) |
protected abstract void |
PageIO.printPage(long addr,
int pageSize,
GridStringBuilder sb) |
protected void |
BPlusIO.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) |
PageIO |
PageIoResolver.resolve(long pageAddr) |
void |
BPlusIO.splitForwardPage(long pageAddr,
long fwdId,
long fwdPageAddr,
int mid,
int cnt,
int pageSize,
PageMetrics metrics) |
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.initRecycledPage(long pageId,
byte flag,
@Nullable PageIO initIO)
Converts recycled page id back to a usable id.
|
long |
ReuseListImpl.initRecycledPage(long pageId,
byte flag,
PageIO initIO)
Converts recycled page id back to a usable id.
|
long |
ReuseList.recycledPagesCount() |
long |
ReuseListImpl.recycledPagesCount() |
long |
ReuseList.takeRecycledPage() |
long |
ReuseListImpl.takeRecycledPage() |
| Constructor and Description |
|---|
ReuseListImpl(int cacheId,
String name,
PageMemory pageMem,
@Nullable IgniteWriteAheadLogManager wal,
long metaPageId,
boolean initNew,
PageLockTrackerManager pageLockTrackerManager,
GridKernalContext ctx,
@Nullable AtomicLong pageListCacheLimit,
byte pageFlag) |
| 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,
PageIoResolver pageIoRslvr) |
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,
PageIoResolver pageIoRslvr) |
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,
PageIoResolver pageIoRslvr) |
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,
PageIoResolver pageIoRslvr) |
| 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 WALPointer 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 |
AbstractWalRecordsIterator.AbstractReadFileHandle.close() |
void |
FileWriteAheadLogManager.ReadFileHandle.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.getWalFilesFromArchive(WALPointer low,
WALPointer high)
Collects WAL segments from the archive only if they are all present.
|
protected AbstractWalRecordsIterator.AbstractReadFileHandle |
AbstractWalRecordsIterator.initReadHandle(@NotNull AbstractWalRecordsIterator.AbstractFileDescriptor desc,
@Nullable WALPointer start)
Assumes file descriptor will be opened in this method.
|
protected AbstractWalRecordsIterator.AbstractReadFileHandle |
AbstractWalRecordsIterator.initReadHandle(@NotNull AbstractWalRecordsIterator.AbstractFileDescriptor desc,
@Nullable WALPointer start,
@NotNull SegmentIO fileIO,
@NotNull SegmentHeader segmentHeader)
Assumes fileIO will be closed in this method in case of error occurred.
|
static FileDescriptor[] |
FileWriteAheadLogManager.loadFileDescriptors(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 filePtr)
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 |
FsyncFileHandleManagerImpl.flush(WALPointer ptr,
boolean explicitFsync) |
WALPointer |
FileHandleManager.flush(WALPointer ptr,
boolean explicitFsync) |
WALPointer |
FileHandleManagerImpl.flush(WALPointer ptr,
boolean explicitFsync) |
void |
FileWriteHandle.flushAll()
Flush all records.
|
void |
FileWriteHandle.fsync(WALPointer ptr)
Do fsync.
|
void |
FsyncFileHandleManagerImpl.onDeactivate()
On deactivate.
|
void |
FileHandleManager.onDeactivate()
On deactivate.
|
void |
FileHandleManagerImpl.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 IgniteWalIteratorFactory.IteratorParametersBuilder iteratorParametersBuilder) |
WALIterator |
IgniteWalIteratorFactory.iterator(String... filesOrDirs)
Creates iterator for file by file scan mode.
|
WALIterator |
IgniteWalIteratorFactory.iterator(@NotNull WALPointer replayFrom,
File... filesOrDirs)
Creates iterator for file by file scan mode.
|
WALIterator |
IgniteWalIteratorFactory.iterator(@NotNull WALPointer replayFrom,
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 CompressionProcessor compressProc,
@Nullable File binaryMetadataFileStoreDir,
@Nullable File marshallerMappingFileStoreDir) |
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 |
RecordDataV1Serializer.entrySize(DataEntry entry) |
protected int |
RecordDataV2Serializer.entrySize(DataEntry entry) |
protected int |
RecordDataV2Serializer.plainSize(WALRecord rec) |
WALRecord |
RecordSerializer.readRecord(FileInput in,
WALPointer expPtr)
Loads record from input
|
WALRecord |
RecordV1Serializer.readRecord(FileInput in0,
WALPointer expPtr)
Loads record from input
|
WALRecord |
RecordV2Serializer.readRecord(FileInput in,
WALPointer expPtr)
Loads record from input
|
WALRecord |
RecordDataV1Serializer.readRecord(WALRecord.RecordType type,
ByteBufferBackedDataInput in,
int size)
Reads record data of
type from buffer in. |
WALRecord |
RecordDataSerializer.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 |
RecordV1Serializer.size(WALRecord record)
Calculates record size in byte including expected wal pointer, CRC and type field
|
int |
RecordDataV1Serializer.size(WALRecord record)
Calculates size of record data.
|
int |
RecordDataSerializer.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
|
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 |
RecordV1Serializer.writeRecord(WALRecord rec,
ByteBuffer buf) |
void |
RecordDataV1Serializer.writeRecord(WALRecord rec,
ByteBuffer buf)
Writes record data to buffer
buf. |
void |
RecordDataSerializer.writeRecord(WALRecord record,
ByteBuffer buf)
Writes record data to buffer
buf. |
void |
RecordV2Serializer.writeRecord(WALRecord record,
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 |
|---|---|
abstract void |
GridCacheQueryFutureAdapter.awaitFirstItemAvailable()
TODO: IGNITE-15728 Provide custom reducer for ScanQueryFallbackClosableIterator.
|
void |
GridCacheDistributedQueryFuture.awaitFirstItemAvailable()
TODO: IGNITE-15728 Provide custom reducer for ScanQueryFallbackClosableIterator.
|
void |
GridCacheLocalQueryFuture.awaitFirstItemAvailable()
TODO: IGNITE-15728 Provide custom reducer for ScanQueryFallbackClosableIterator.
|
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 abstract void |
GridCacheQueryFutureAdapter.cancelQuery(Throwable err)
Cancels query on remote nodes and cleanes owned resources.
|
protected void |
GridCacheLocalQueryFuture.cancelQuery(Throwable err)
Cancels query on remote nodes and cleanes owned resources.
|
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> |
GridCacheDistributedQueryFuture.get()
Synchronously waits for completion of the computation and
returns computation result.
|
Collection<R> |
GridCacheDistributedQueryFuture.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> |
GridCacheDistributedQueryFuture.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 |
GridCacheDistributedQueryManager.onKernalStart0() |
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.
|
protected GridCloseableIterator |
GridCacheQueryManager.scanQueryLocal(GridCacheQueryAdapter qry,
boolean updateStatistics)
Process local scan query.
|
void |
GridCacheDistributedQueryManager.sendRequest(GridCacheDistributedQueryFuture<?,?,?> fut,
GridCacheQueryRequest req,
Collection<UUID> nodeIds)
Sends query request.
|
Collection<GridCacheSqlMetadata> |
GridCacheQueryManager.sqlMetadata()
Gets SQL metadata.
|
IgniteInternalFuture<Collection<GridCacheSqlMetadata>> |
GridCacheQueryManager.sqlMetadataAsync()
Gets SQL metadata asynchronously.
|
Collection<GridCacheSqlMetadata> |
GridCacheQueryManager.sqlMetadataV2()
Gets SQL metadata with not nulls fields.
|
void |
GridCacheQueryManager.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() |
@Nullable IgniteClosure<javax.cache.event.CacheEntryEvent<? extends K,? extends V>,?> |
CacheContinuousQueryHandler.getTransformer() |
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 |
CacheContinuousQueryHandlerV3.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 |
CacheContinuousQueryHandlerV2.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 |
CacheContinuousQueryHandlerV3.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 |
CacheContinuousQueryHandlerV2.p2pUnmarshal(UUID nodeId,
GridKernalContext ctx)
Unmarshals inner objects (called only if peer deployment is enabled).
|
GridContinuousHandler.RegisterStatus |
CacheContinuousQueryHandlerV3.register(UUID nodeId,
UUID routineId,
GridKernalContext ctx)
Registers listener.
|
GridContinuousHandler.RegisterStatus |
CacheContinuousQueryHandler.register(UUID nodeId,
UUID routineId,
GridKernalContext ctx)
Registers listener.
|
protected void |
CacheContinuousQueryManager.start0() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
CacheQueryReducer.get(CompletableFuture<?> fut) |
boolean |
UnsortedCacheQueryReducer.hasNextX()
This method is the same as
Iterator.hasNext(), but allows for failure
with exception. |
R |
UnsortedCacheQueryReducer.nextX()
This method is the same as
Iterator.next(), but allows for failure
with exception. |
void |
CacheQueryReducer.removeX()
This method is the same as
Iterator.remove(), but allows for failure
with exception. |
| Modifier and Type | Method and Description |
|---|---|
void |
GridCacheStoreManagerAdapter.forceFlush() |
void |
CacheStoreManager.forceFlush() |
void |
GridCacheWriteBehindStore.forceFlush()
Forces all entries collected to be flushed to the underlying store.
|
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 |
GridCacheStoreManagerAdapter.load(@Nullable IgniteInternalTx tx,
KeyCacheObject key)
Loads data from persistent store.
|
@Nullable Object |
CacheStoreManager.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 |
GridCacheStoreManagerAdapter.put(@Nullable IgniteInternalTx tx,
KeyCacheObject key,
CacheObject val,
GridCacheVersion ver)
Puts key-value pair into storage.
|
boolean |
CacheStoreManager.put(@Nullable IgniteInternalTx tx,
KeyCacheObject key,
CacheObject val,
GridCacheVersion ver)
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.putAll(@Nullable IgniteInternalTx tx,
Map<? extends KeyCacheObject,IgniteBiTuple<? extends CacheObject,GridCacheVersion>> map)
Puts key-value pair into storage.
|
boolean |
GridCacheStoreManagerAdapter.remove(@Nullable IgniteInternalTx tx,
KeyCacheObject key) |
boolean |
CacheStoreManager.remove(@Nullable IgniteInternalTx tx,
KeyCacheObject key) |
boolean |
GridCacheStoreManagerAdapter.removeAll(@Nullable IgniteInternalTx tx,
Collection<? extends KeyCacheObject> keys) |
boolean |
CacheStoreManager.removeAll(@Nullable IgniteInternalTx tx,
Collection<? extends KeyCacheObject> keys) |
void |
GridCacheStoreManagerAdapter.sessionEnd(IgniteInternalTx tx,
boolean commit,
boolean last,
boolean storeSessionEnded) |
void |
CacheStoreManager.sessionEnd(IgniteInternalTx tx,
boolean commit,
boolean last,
boolean storeSessionEnded) |
protected void |
CacheOsStoreManager.start0() |
protected void |
GridCacheStoreManagerAdapter.start0() |
void |
GridCacheStoreManagerAdapter.writeBehindCacheStoreSessionListenerStart()
Notifies cache store session listeners.
|
void |
CacheStoreManager.writeBehindCacheStoreSessionListenerStart()
Notifies cache store session listeners.
|
void |
GridCacheStoreManagerAdapter.writeBehindSessionEnd(boolean threwEx)
End session initiated by write-behind store.
|
void |
CacheStoreManager.writeBehindSessionEnd(boolean threwEx)
End session initiated by write-behind store.
|
void |
GridCacheStoreManagerAdapter.writeBehindSessionInit()
Start session initiated by write-behind store.
|
void |
CacheStoreManager.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 |
IgniteTxRemoteStateAdapter.validateTopology(GridCacheSharedContext cctx,
boolean read,
GridDhtTopologyFuture topFut) |
IgniteCheckedException |
IgniteTxImplicitSingleStateImpl.validateTopology(GridCacheSharedContext cctx,
boolean read,
GridDhtTopologyFuture topFut) |
IgniteCheckedException |
IgniteTxStateImpl.validateTopology(GridCacheSharedContext cctx,
boolean read,
GridDhtTopologyFuture topFut) |
IgniteCheckedException |
IgniteTxState.validateTopology(GridCacheSharedContext cctx,
boolean read,
GridDhtTopologyFuture topFut) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
IgniteTxAdapter.addActiveCache(GridCacheContext cacheCtx,
boolean recovery)
Adds cache to the list of active caches in transaction.
|
void |
IgniteTxLocalAdapter.addActiveCache(GridCacheContext cacheCtx,
boolean recovery)
Adds cache to the list of active caches in transaction.
|
void |
IgniteTxRemoteStateAdapter.addActiveCache(GridCacheContext cctx,
boolean recovery,
IgniteTxAdapter tx) |
void |
IgniteTxImplicitSingleStateImpl.addActiveCache(GridCacheContext ctx,
boolean recovery,
IgniteTxAdapter tx) |
void |
IgniteTxStateImpl.addActiveCache(GridCacheContext cacheCtx,
boolean recovery,
IgniteTxAdapter tx) |
void |
IgniteTxState.addActiveCache(GridCacheContext cacheCtx,
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 |
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. |
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. |
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 |
TxLocksRequest.prepareMarshal(GridCacheSharedContext ctx)
This method is called before the whole message is serialized
and is responsible for pre-marshalling state.
|
void |
TxLocksResponse.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 |
IgniteTxEntry.prepareUnmarshal(GridCacheSharedContext<?,?> ctx,
AffinityTopologyVersion topVer,
boolean near)
Prepares this entry to unmarshall.
|
void |
IgniteTxManager.resumeTx(GridNearTxLocal tx,
long threadId)
Resume transaction in current thread.
|
void |
IgniteTxManager.sendTransactionMessage(ClusterNode n,
GridCacheMessage msg,
IgniteInternalTx tx,
byte plc)
Sends transaction message after transforming it.
|
void |
IgniteTxManager.sendTransactionMessage(UUID nodeId,
GridCacheMessage msg,
IgniteInternalTx tx,
byte plc)
Sends transaction message after transforming it.
|
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(CacheObjectValueContext 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,
PageLockTrackerManager pageLockTrackerManager,
byte pageFlag) |
PendingEntriesTree(CacheGroupContext grp,
String name,
PageMemory pageMem,
long metaPageId,
ReuseList reuseList,
boolean initNew,
PageLockTrackerManager pageLockTrackerManager,
byte pageFlag) |
| 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 |
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 |
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 |
MvccDataPageClosure.applyMvcc(DataPageIO io,
long dataPageAddr,
int itemId,
int pageSize) |
| Modifier and Type | Method and Description |
|---|---|
static @Nullable PartitionHashRecordV2 |
IdleVerifyUtility.calculatePartitionHash(PartitionKeyV2 partKey,
Object updCntr,
Object consId,
GridDhtPartitionState state,
boolean isPrimary,
long partSize,
GridIterator<CacheDataRow> it) |
| 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 |
|---|---|
protected Map<CacheGroupContext,List<org.apache.ignite.internal.processors.cache.warmup.LoadAllWarmUpStrategy.LoadPartition>> |
LoadAllWarmUpStrategy.loadDataInfo(DataRegion region)
Calculation of cache groups, partitions and count of pages that can load
into data region.
|
void |
WarmUpStrategy.stop()
Stop warming up.
|
void |
NoOpWarmUpStrategy.stop()
Stop warming up.
|
void |
LoadAllWarmUpStrategy.stop()
Stop warming up.
|
void |
LoadAllWarmUpStrategy.warmUp(LoadAllWarmUpConfiguration cfg,
DataRegion region)
Warm up.
|
void |
NoOpWarmUpStrategy.warmUp(NoOpWarmUpConfiguration cfg,
DataRegion region)
Warm up.
|
void |
WarmUpStrategy.warmUp(T cfg,
DataRegion region)
Warm up.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IgniteCacheObjectProcessor.cacheMetadataLocally(File metadataDir,
int typeId)
Merge the binary metadata file stored in the specified directory.
|
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) |
void |
IgniteCacheObjectProcessor.updateMetadata(File metadataDir,
BooleanSupplier stopChecker)
Merge the binary metadata files stored in the specified directory.
|
| Modifier and Type | Method and Description |
|---|---|
<R> ComputeTaskInternalFuture<R> |
GridClosureProcessor.affinityCall(@NotNull Collection<String> cacheNames,
int partId,
Callable<R> job,
TaskExecutionOptions opts) |
<R> ComputeTaskInternalFuture<R> |
GridClosureProcessor.affinityCall(Collection<String> cacheNames,
Object affKey,
IgniteCallable<R> job,
TaskExecutionOptions opts) |
ComputeTaskInternalFuture<?> |
GridClosureProcessor.affinityRun(@NotNull Collection<String> cacheNames,
int partId,
Runnable job,
TaskExecutionOptions opts) |
ComputeTaskInternalFuture<?> |
GridClosureProcessor.affinityRun(@NotNull Collection<String> cacheNames,
Object affKey,
Runnable job,
TaskExecutionOptions opts) |
<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 |
GridClusterStateProcessor.onBaselineTopologyChanged(BaselineTopology blt,
BaselineTopologyHistoryItem prevBltHistItem) |
void |
IGridClusterStateProcessor.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) |
ByteBuffer |
CompressionHandler.compressPage(ByteBuffer page,
PageStore store) |
static CompressionHandler |
CompressionHandler.create(GridKernalContext ctx,
CacheConfiguration cfg)
Creates compression handler.
|
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 |
DistributedEnumProperty.propagate(T newVal)
Change value across whole cluster.
|
boolean |
SimpleDistributedProperty.propagate(T newVal)
Change value across whole cluster.
|
boolean |
DistributedProperty.propagate(T newVal)
Change value across whole cluster.
|
GridFutureAdapter<?> |
DistributedEnumProperty.propagateAsync(T newVal)
Change value across whole cluster.
|
GridFutureAdapter<?> |
SimpleDistributedProperty.propagateAsync(T newVal)
Change value across whole cluster.
|
GridFutureAdapter<?> |
DistributedProperty.propagateAsync(T newVal)
Change value across whole cluster.
|
GridFutureAdapter<?> |
DistributedEnumProperty.propagateAsync(T expectedVal,
T newVal)
Change value across whole cluster.
|
GridFutureAdapter<?> |
SimpleDistributedProperty.propagateAsync(T expectedVal,
T newVal)
Change value across whole cluster.
|
GridFutureAdapter<?> |
DistributedProperty.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.
|
GridFutureAdapter<?> |
DistributedThinClientConfiguration.updateThinClientSendServerStackTraceAsync(boolean showStack) |
| 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,
int cacheId,
boolean collocated,
boolean separated)
Gets a set from cache by known cache id.
|
<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.
|
| Constructor and Description |
|---|
DiagnosticProcessor(GridKernalContext ctx)
Constructor.
|
| 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.onKernalStart(boolean active)
Callback that notifies that kernal has successfully started,
including all managers and processors.
|
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 void |
ClientListenerAbstractConnectionContext.authenticate(GridNioSession ses,
String user,
String pwd)
Perform authentication.
|
Object |
ClientListenerNioMessageParser.decode(GridNioSession ses,
ByteBuffer buf)
This method is called when input bytes are available on the underlying network connection.
|
ByteBuffer |
ClientListenerNioMessageParser.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.
|
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 | Method and Description |
|---|---|
void |
PerformanceStatisticsMBeanImpl.rotate()
Rotate performance statistics in the cluster.
|
void |
PerformanceStatisticsProcessor.rotateCollectStatistics()
Rotate collecting performance statistics.
|
void |
PerformanceStatisticsProcessor.start()
Starts grid component.
|
void |
PerformanceStatisticsMBeanImpl.start()
Start collecting performance statistics in the cluster.
|
void |
PerformanceStatisticsProcessor.startCollectStatistics()
Starts collecting performance statistics.
|
void |
PerformanceStatisticsMBeanImpl.stop()
Stop collecting performance statistics in the cluster.
|
void |
PerformanceStatisticsProcessor.stopCollectStatistics()
Stops collecting performance statistics.
|
| Constructor and Description |
|---|
FilePerformanceStatisticsWriter(GridKernalContext ctx) |
| 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 |
PlatformAbstractTarget.processInLongOutLong(int type,
long val)
Process IN operation.
|
long |
PlatformTarget.processInLongOutLong(int type,
long val)
Process IN operation.
|
long |
PlatformProcessorImpl.processInLongOutLong(int type,
long val)
Process IN operation.
|
PlatformTarget |
PlatformAbstractTarget.processInObjectStreamOutObjectStream(int type,
@Nullable PlatformTarget arg,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
Process IN-OUT 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.
|
PlatformAsyncResult |
PlatformAbstractTarget.processInStreamAsync(int type,
BinaryRawReaderEx reader)
Process asynchronous operation.
|
PlatformAsyncResult |
PlatformTarget.processInStreamAsync(int type,
BinaryRawReaderEx reader)
Process asynchronous operation.
|
PlatformAsyncResult |
PlatformProcessorImpl.processInStreamAsync(int type,
BinaryRawReaderEx reader)
Process asynchronous operation.
|
long |
PlatformAbstractTarget.processInStreamOutLong(int type,
BinaryRawReaderEx reader)
Process IN 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,
PlatformMemory mem)
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.
|
PlatformTarget |
PlatformAbstractTarget.processInStreamOutObject(int type,
BinaryRawReaderEx reader)
Process IN-OUT operation.
|
PlatformTarget |
PlatformTarget.processInStreamOutObject(int type,
BinaryRawReaderEx reader)
Process IN-OUT operation.
|
PlatformTarget |
PlatformProcessorImpl.processInStreamOutObject(int type,
BinaryRawReaderEx reader)
Process IN-OUT operation.
|
void |
PlatformAbstractTarget.processInStreamOutStream(int type,
BinaryRawReaderEx reader,
BinaryRawWriterEx writer)
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.
|
PlatformTarget |
PlatformAbstractTarget.processOutObject(int type)
Process OUT operation.
|
PlatformTarget |
PlatformTarget.processOutObject(int type)
Process OUT operation.
|
PlatformTarget |
PlatformProcessorImpl.processOutObject(int type)
Process OUT operation.
|
void |
PlatformAbstractTarget.processOutStream(int type,
BinaryRawWriterEx writer)
Process OUT operation.
|
void |
PlatformTarget.processOutStream(int type,
BinaryRawWriterEx writer)
Process OUT operation.
|
void |
PlatformProcessorImpl.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 |
PlatformCacheIterator.processOutStream(int type,
BinaryRawWriterEx writer)
Process OUT operation.
|
void |
PlatformCache.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 |
PlatformAffinityFunctionTarget.processInStreamOutLong(int type,
BinaryRawReaderEx reader)
Process IN operation.
|
long |
PlatformAffinityManager.processInStreamOutLong(int type,
BinaryRawReaderEx reader)
Process IN operation.
|
long |
PlatformAffinity.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 |
PlatformAbstractQueryCursor.processInLongOutLong(int type,
long val)
Process IN operation.
|
long |
PlatformContinuousQueryProxy.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,
boolean includeExpired)
Start continuous query execution.
|
void |
PlatformContinuousQueryImpl.start(IgniteCacheProxy cache,
boolean loc,
int bufSize,
long timeInterval,
boolean autoUnsubscribe,
Query initialQry,
boolean includeExpired)
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.
|
@Nullable Object |
PlatformFullJob.execute0(PlatformContext ctx)
Internal job execution routine.
|
@Nullable Object |
PlatformClosureJob.execute0(PlatformContext ctx)
Internal job execution routine.
|
protected abstract Object |
PlatformAbstractJob.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 |
PlatformAtomicLong.processInLongOutLong(int type,
long val)
Process IN operation.
|
long |
PlatformAtomicReference.processInLongOutLong(int type,
long val)
Process IN operation.
|
long |
PlatformAtomicSequence.processInLongOutLong(int type,
long val)
Process IN operation.
|
long |
PlatformAtomicLong.processInStreamOutLong(int type,
BinaryRawReaderEx reader)
Process IN operation.
|
long |
PlatformAtomicReference.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 |
PlatformAbstractService.invokeMethod(String mthdName,
boolean srvKeepBinary,
boolean deserializeResult,
@Nullable Object[] args,
@Nullable Map<String,Object> callAttrs)
Invokes native service method.
|
Object |
PlatformService.invokeMethod(String mthdName,
boolean srvKeepBinary,
boolean deserializeResult,
@Nullable Object[] args,
@Nullable Map<String,Object> callAttrs)
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.start()
Starts grid component.
|
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 |
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,
@Nullable 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).
|
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.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> IndexQueryResult<K,V> |
GridQueryProcessor.queryIndex(String cacheName,
String valCls,
IndexQueryDesc idxQryDesc,
@Nullable IgniteBiPredicate<K,V> entryFilter,
IndexingQueryFilter cacheFilter,
boolean keepBinary) |
<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.
|
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 |
QueryUtils.KeyOrValProperty.setValue(Object key,
Object val,
Object propVal)
Sets this property value for the given object.
|
void |
GridQueryProperty.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,
String qryInitiatorId)
Execute a batched INSERT statement using data streamer as receiver.
|
long |
GridQueryIndexing.streamUpdateQuery(String schemaName,
String qry,
@Nullable Object[] params,
IgniteDataStreamer<?,?> streamer,
String qryInitiatorId)
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 |
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 |
QueryUtils.KeyOrValProperty.value(Object key,
Object val)
Gets this property value from the given object.
|
Object |
GridQueryProperty.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)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
QueryReadOnlyMethodsAccessor.getValue(Object obj)
Get property value from given object.
|
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.
|
void |
QueryReadOnlyMethodsAccessor.setValue(Object obj,
Object newVal)
Set property value on 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 |
QueryClassProperty.setValue(Object key,
Object val,
Object propVal)
Sets this property value for the given object.
|
void |
QueryBinaryProperty.setValue(Object key,
Object val,
Object propVal)
Sets this property value for the given object.
|
Object |
QueryClassProperty.value(Object key,
Object val)
Gets this property value from the given object.
|
Object |
QueryBinaryProperty.value(Object key,
Object val)
Gets this property value from the given object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SchemaIndexOperationCancellationException
Exception occurred when canceling index rebuild via
IndexRebuildCancelToken. |
class |
SchemaOperationException
Schema operation exception.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SchemaIndexCacheVisitorClosure.apply(CacheDataRow row)
Apply closure.
|
boolean |
SchemaIndexCacheFilter.apply(CacheDataRow row) |
| Modifier and Type | Method and Description |
|---|---|
void |
SchemaManager.addColumn(String schemaName,
String tblName,
List<QueryField> cols,
boolean ifTblExists,
boolean ifColNotExists)
Add column.
|
void |
SchemaManager.addIndex(TableDescriptor tbl,
IndexDescriptor idxDesc)
Add index to the schema.
|
void |
SchemaManager.createIndex(String schemaName,
String tblName,
QueryIndexDescriptorImpl idxDesc,
boolean ifNotExists,
SchemaIndexCacheVisitor cacheVisitor)
Create index dynamically.
|
void |
SchemaManager.dropColumn(String schemaName,
String tblName,
List<String> cols,
boolean ifTblExists,
boolean ifColExists)
Drop column.
|
void |
SchemaManager.dropIndex(String schemaName,
String idxName,
boolean ifExists)
Drop index.
|
void |
SchemaManager.onCacheCreated(String cacheName,
String schemaName,
Class<?>[] sqlFuncs)
Invoked when cache is created.
|
void |
SchemaManager.onCacheTypeCreated(GridCacheContextInfo<?,?> cacheInfo,
GridQueryTypeDescriptor type,
boolean isSql)
Registers new class description.
|
void |
SchemaManager.start(String[] schemaNames)
Handle node start.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ColumnStatisticsCollector.add(Object val)
Add value to statistics.
|
void |
IgniteStatisticsManagerImpl.collectStatistics(StatisticsObjectConfiguration... targets)
Gather object statistics.
|
void |
IgniteStatisticsManager.collectStatistics(StatisticsObjectConfiguration... targets)
Gather object statistics.
|
StatisticsObjectConfiguration |
IgniteStatisticsConfigurationManager.config(StatisticsKey key)
Read statistics object configuration by key.
|
void |
IgniteStatisticsManagerImpl.dropAll()
Drop all statistics.
|
void |
IgniteStatisticsManager.dropAll()
Drop all statistics.
|
void |
IgniteStatisticsManagerImpl.dropStatistics(StatisticsTarget... targets)
Clear object statistics.
|
void |
IgniteStatisticsManager.dropStatistics(StatisticsTarget... targets)
Clear object statistics.
|
List<StatisticsAddressedRequest> |
IgniteStatisticsHelper.generateGatheringRequests(StatisticsTarget target,
StatisticsObjectConfiguration cfg)
Generate local statistics requests.
|
Collection<StatisticsObjectConfiguration> |
IgniteStatisticsConfigurationManager.getAllConfig()
Get statistics configurations for all objects.
|
CacheGroupContext |
IgniteStatisticsHelper.groupContext(StatisticsKey key)
Get cache group context by specified statistics key.
|
void |
IgniteStatisticsPersistenceStoreImpl.onReadyForReadWrite(ReadWriteMetastorage metastorage)
Fully functional metastore capable of performing reading and writing operations.
|
void |
IgniteStatisticsManagerImpl.refreshStatistics(StatisticsTarget... targets)
Refresh object statistics.
|
void |
IgniteStatisticsManager.refreshStatistics(StatisticsTarget... targets)
Refresh object statistics.
|
static StatisticsColumnData |
StatisticsUtils.toMessage(ColumnStatistics stat)
Convert ColumnStatistics to StaticColumnData message.
|
static StatisticsObjectData |
StatisticsUtils.toObjectData(StatisticsKeyMessage keyMsg,
StatisticsType type,
ObjectStatisticsImpl stat)
Build statistics object data from values.
|
static ObjectPartitionStatisticsImpl |
StatisticsUtils.toObjectPartitionStatistics(GridKernalContext ctx,
StatisticsObjectData objData)
Convert StatsObjectData message to ObjectPartitionStatistics.
|
void |
IgniteStatisticsManagerImpl.usageState(StatisticsUsageState state)
Set statistics usage state.
|
void |
IgniteStatisticsManager.usageState(StatisticsUsageState state)
Set statistics usage state.
|
| 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 |
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 |
GridResourceProxiedIgniteInjector.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 |
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 |
GridResourceProxiedIgniteInjector.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.
|
boolean |
GridResourceIoc.inject(Object target,
Class<? extends Annotation> annCls,
org.apache.ignite.internal.processors.resource.GridResourceInjector injector,
@Nullable GridDeployment dep,
@Nullable Class<?> depCls)
Injects given resource via field or setter with specified annotations on provided target object.
|
void |
GridResourceProcessor.inject(Object obj,
GridResourceIoc.AnnotationSet annSet,
Object... params) |
void |
GridResourceProcessor.inject(Service svc,
ServiceContext svcCtx)
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 |
|---|---|
IgniteInternalFuture<GridRestResponse> |
GridRestCommandHandler.handleAsync(GridRestRequest req) |
| Modifier and Type | Method and Description |
|---|---|
protected IgniteInternalCache<Object,Object> |
GridCacheCommandHandler.localCache(String cacheName) |
| Modifier and Type | Method and Description |
|---|---|
IgniteInternalFuture<GridRestResponse> |
GridChangeClusterStateCommandHandler.handleAsync(GridRestRequest restReq) |
IgniteInternalFuture<GridRestResponse> |
GridBaselineCommandHandler.handleAsync(GridRestRequest req) |
IgniteInternalFuture<GridRestResponse> |
GridChangeStateCommandHandler.handleAsync(GridRestRequest restRest) |
| 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 |
GridRedisExistsCommandHandler.asRestRequest(GridRedisMessage msg)
Converts
GridRedisMessage to GridRestRequest. |
GridRestRequest |
GridRedisExpireCommandHandler.asRestRequest(GridRedisMessage msg)
Converts
GridRedisMessage to GridRestRequest. |
GridRestRequest |
GridRedisDelCommandHandler.asRestRequest(GridRedisMessage msg)
Converts
GridRedisMessage to GridRestRequest. |
| Modifier and Type | Method and Description |
|---|---|
GridRestRequest |
GridRedisDbSizeCommandHandler.asRestRequest(GridRedisMessage msg)
Converts
GridRedisMessage to GridRestRequest. |
GridRestRequest |
GridRedisFlushCommandHandler.asRestRequest(GridRedisMessage msg)
Converts
GridRedisMessage to GridRestRequest. |
| Modifier and Type | Method and Description |
|---|---|
IgniteInternalFuture<GridRestResponse> |
UserActionCommandHandler.handleAsync(GridRestRequest req) |
| 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 boolean |
GridRedisProtocolParser.ensureArrayStart(ByteBuffer buf)
Checks first byte is
GridRedisProtocolParser.ARRAY. |
static String |
GridRedisProtocolParser.readBulkStr(ByteBuffer buf)
Reads a bulk string.
|
static int |
GridRedisProtocolParser.readInt(ByteBuffer buf)
Counts elements in buffer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IgniteSecurityProcessor.alterUser(String login,
char[] pwd)
Alters password of user with the specified login.
|
void |
IgniteSecurity.alterUser(String login,
char[] pwd)
Alters password of user with the specified login.
|
default void |
GridSecurityProcessor.alterUser(String login,
char[] pwd)
Alters password of user with the specified login.
|
void |
NoOpIgniteSecurityProcessor.alterUser(String login,
char[] pwd)
Alters password of user with the specified login.
|
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.createUser(String login,
char[] pwd)
Creates user with the specified login and password.
|
void |
IgniteSecurity.createUser(String login,
char[] pwd)
Creates user with the specified login and password.
|
default void |
GridSecurityProcessor.createUser(String login,
char[] pwd)
Creates user with the specified login and password.
|
void |
NoOpIgniteSecurityProcessor.createUser(String login,
char[] pwd)
Creates user with the specified login and password.
|
void |
IgniteSecurityProcessor.dropUser(String login)
Drops user with the specified login.
|
void |
IgniteSecurity.dropUser(String login)
Drops user with the specified login.
|
default void |
GridSecurityProcessor.dropUser(String login)
Drops user with the specified login.
|
void |
NoOpIgniteSecurityProcessor.dropUser(String login)
Drops user with the specified login.
|
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.
|
static Map<String,Object> |
SecurityUtils.withSecurityContext(SecurityContext secCtx,
Map<String,Object> nodeAttrs,
Marshaller marsh)
Marshals specified security context and adds it to the node attributes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GridServiceNotFoundException
Exception thrown if service is not found.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
Map<UUID,Integer> |
IgniteServiceProcessor.serviceTopology(String name,
long timeout) |
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 |
|---|---|
protected void |
SqlCommandProcessor.finishActiveTxIfNecessary()
Commits active transaction if exists.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Integer> |
PartitionCompositeNode.apply(PartitionClientContext cliCtx,
Object... args)
Get partitions.
|
Collection<Integer> |
PartitionSingleNode.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.
|
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) |
void |
IgniteTree.InvokeClosure.call(T row) |
void |
GridCloseableIteratorAdapter.close()
Closes the iterator and frees all the resources held by the iterator.
|
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.
|
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 |
GridCloseableIteratorAdapter.hasNextX()
This method is the same as
Iterator.hasNext(), but allows for failure
with exception. |
boolean |
GridCloseableIteratorAdapterEx.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 IgniteLogger |
IgniteUtils.initLogger(IgniteConfiguration cfg,
String app) |
static IgniteLogger |
IgniteUtils.initLogger(@Nullable IgniteLogger cfgLog,
@Nullable String app,
@Nullable UUID nodeId,
String workDir) |
static void |
IgniteUtils.initWorkDir(IgniteConfiguration cfg)
Resolves work directory.
|
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 |
GridCloseableIteratorAdapter.nextX()
This method is the same as
Iterator.next(), but allows for failure
with exception. |
T |
GridCloseableIteratorAdapterEx.nextX()
This method is the same as
Iterator.next(), but allows for failure
with exception. |
protected void |
GridCloseableIteratorAdapter.onClose()
Invoked on iterator close.
|
protected void |
GridCloseableIteratorAdapterEx.onClose()
Invoked on iterator close.
|
protected void |
GridSpiCloseableIteratorWrapper.onClose()
Invoked on iterator close.
|
protected abstract boolean |
GridCloseableIteratorAdapter.onHasNext() |
protected abstract boolean |
GridCloseableIteratorAdapterEx.onHasNext() |
protected boolean |
GridSpiCloseableIteratorWrapper.onHasNext() |
protected abstract T |
GridCloseableIteratorAdapter.onNext() |
protected abstract T |
GridCloseableIteratorAdapterEx.onNext() |
protected T |
GridSpiCloseableIteratorWrapper.onNext() |
protected void |
GridCloseableIteratorAdapter.onRemove()
Called on remove from iterator.
|
protected void |
GridCloseableIteratorAdapterEx.onRemove()
Called on remove from iterator.
|
protected void |
GridSpiCloseableIteratorWrapper.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.
|
void |
GridCloseableIteratorAdapter.removeX()
This method is the same as
Iterator.remove(), but allows for failure
with exception. |
void |
GridCloseableIteratorAdapterEx.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 |
GridEmbeddedFuture.cancel()
Default no-op implementation that always returns
false. |
boolean |
GridFutureAdapter.cancel()
Default no-op implementation that always returns
false. |
boolean |
GridCompoundFuture.cancel()
Default no-op implementation that always returns
false. |
R |
GridFutureAdapter.get()
Synchronously waits for completion of the computation and
returns computation result.
|
T |
GridFinishedFuture.get()
Synchronously waits for completion of the computation 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)
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.get(long timeout,
TimeUnit unit)
Synchronously waits for completion of the computation for
up to the timeout specified and returns computation result.
|
R |
GridFutureAdapter.getUninterruptibly()
Synchronously waits for completion of the computation and returns computation result ignoring interrupts.
|
T |
GridFinishedFuture.getUninterruptibly()
Synchronously waits for completion of the computation and returns computation result ignoring interrupts.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
GridFileUtils.ensureHardLinkAvailable(Path path1,
Path path2)
Checks that creating hard links between given paths is available.
|
| 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 | Method and Description |
|---|---|
void |
IgniteThrowableConsumer.accept(E e)
Performs this operation on the given argument.
|
void |
GridPlainAbsClosure.apply()
Applies this closure.
|
R |
GridPlainOutClosure.apply() |
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 R |
IgniteReducerX.applyx()
Reducer body that can throw
IgniteCheckedException. |
abstract R |
IgniteReducer3X.applyx()
Reducer 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 void |
GridAbsClosureX.applyx()
Closure body that can throw
IgniteCheckedException. |
abstract T |
IgniteOutClosureX.applyx()
Out-closure 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 R |
IgniteClosure2X.applyx(E1 e1,
E2 e2)
Closure body that can throw
IgniteCheckedException. |
abstract void |
IgniteInClosure2X.applyx(E1 e1,
E2 e2)
In-closure body that can throw
IgniteCheckedException. |
abstract void |
GridInClosure3X.applyx(E1 e1,
E2 e2,
E3 e3)
In-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 |
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 |
GridFilteredClosableIterator.close() |
void |
GridCloseableIterator.close()
Closes the iterator and frees all the resources held by the iterator.
|
E |
IgniteThrowableSupplier.get()
Gets a result.
|
T |
GridCursor.get()
Gets element at current position.
|
boolean |
GridIterableAdapter.hasNextX()
This method is the same as
Iterator.hasNext(), but allows for failure
with exception. |
boolean |
GridIterableAdapter.IteratorWrapper.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 |
GridIterableAdapter.IteratorWrapper.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 |
GridIterableAdapter.IteratorWrapper.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.
|
boolean |
IgniteThrowableBiPredicate.test(T t,
U u)
Evaluates this predicate on the given arguments.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GridNioException
Nio specific exception.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridNioCodecFilter.onExceptionCaught(GridNioSession ses,
IgniteCheckedException ex)
Invoked when exception is caught in filter processing.
|
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 |
GridNioTracerFilter.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 |
GridNioFilterAdapter.proceedExceptionCaught(GridNioSession ses,
IgniteCheckedException e)
Forwards GridNioException event to the next logical filter in filter chain.
|
void |
GridNioFilter.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.
|
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.
|
@Nullable Object |
GridNioParser.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.
|
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 |
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.
|
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.
|
void |
GridNioCodecFilter.onExceptionCaught(GridNioSession ses,
IgniteCheckedException ex)
Invoked when exception is caught in filter processing.
|
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 |
GridNioTracerFilter.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 |
GridNioCodecFilter.onMessageReceived(GridNioSession ses,
Object msg)
Invoked when a new messages received.
|
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 |
GridNioTracerFilter.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.
|
GridNioFuture<?> |
GridNioFilterAdapter.onPauseReads(GridNioSession ses)
Pauses reads for session.
|
GridNioFuture<?> |
GridNioFilter.onPauseReads(GridNioSession ses)
Pauses reads for session.
|
GridNioFuture<?> |
GridNioFilterChain.onPauseReads(GridNioSession ses)
Starts chain notification from tail to head.
|
GridNioFuture<?> |
GridNioFilterAdapter.onResumeReads(GridNioSession ses)
Resumes reads for session.
|
GridNioFuture<?> |
GridNioFilter.onResumeReads(GridNioSession ses)
Resumes reads for session.
|
GridNioFuture<?> |
GridNioFilterChain.onResumeReads(GridNioSession ses)
Starts chain notification from tail to head.
|
GridNioFuture<Boolean> |
GridNioCodecFilter.onSessionClose(GridNioSession ses)
Invoked when a session close request is performed on session.
|
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> |
GridNioTracerFilter.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.
|
void |
GridNioCodecFilter.onSessionClosed(GridNioSession ses)
Invoked after session get closed.
|
void |
GridNioFilter.onSessionClosed(GridNioSession ses)
Invoked after session get closed.
|
void |
GridNioAsyncNotifyFilter.onSessionClosed(GridNioSession ses)
Invoked after session get closed.
|
void |
GridNioTracerFilter.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 |
GridNioCodecFilter.onSessionIdleTimeout(GridNioSession ses)
Called when session is idle for longer time that is
allowed by NIO server.
|
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 |
GridNioTracerFilter.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 |
GridNioCodecFilter.onSessionOpened(GridNioSession ses)
Invoked when a new session was created.
|
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 |
GridNioTracerFilter.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.
|
GridNioFuture<?> |
GridNioCodecFilter.onSessionWrite(GridNioSession ses,
Object msg,
boolean fut,
IgniteInClosure<IgniteException> ackC)
Invoked when a write request is performed on a session.
|
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<?> |
GridNioTracerFilter.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.
|
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 |
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 |
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 |
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 |
GridNioFilterAdapter.proceedExceptionCaught(GridNioSession ses,
IgniteCheckedException e)
Forwards GridNioException event to the next logical filter in filter chain.
|
void |
GridNioFilter.proceedExceptionCaught(GridNioSession ses,
IgniteCheckedException e)
Forwards GridNioException event 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.
|
void |
GridNioFilter.proceedMessageReceived(GridNioSession ses,
Object msg)
Forwards received message to the next logical filter in filter chain.
|
GridNioFuture<?> |
GridNioFilterAdapter.proceedPauseReads(GridNioSession ses)
Pauses reads for session.
|
GridNioFuture<?> |
GridNioFilter.proceedPauseReads(GridNioSession ses)
Pauses reads for session.
|
GridNioFuture<?> |
GridNioFilterAdapter.proceedResumeReads(GridNioSession ses)
Resumes reads for session.
|
GridNioFuture<?> |
GridNioFilter.proceedResumeReads(GridNioSession ses)
Resumes reads for session.
|
GridNioFuture<Boolean> |
GridNioFilterAdapter.proceedSessionClose(GridNioSession ses)
Forwards session close request to the next logical filter in filter chain.
|
GridNioFuture<Boolean> |
GridNioFilter.proceedSessionClose(GridNioSession ses)
Forwards session close request 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.proceedSessionClosed(GridNioSession ses)
Forwards session closed event 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.proceedSessionIdleTimeout(GridNioSession ses)
Forwards session idle notification 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.
|
void |
GridNioFilter.proceedSessionOpened(GridNioSession ses)
Forwards session opened event 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.
|
GridNioFuture<?> |
GridNioFilter.proceedSessionWrite(GridNioSession ses,
Object msg,
boolean fut,
IgniteInClosure<IgniteException> ackC)
Forwards write request 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.
|
void |
GridNioFilter.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 |
GridCommunicationClient.sendMessage(ByteBuffer data) |
void |
GridTcpNioCommunicationClient.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) |
void |
GridNioSessionImpl.sendNoFuture(Object msg,
IgniteInClosure<IgniteException> ackC) |
void |
GridNioSession.sendNoFuture(Object msg,
@Nullable 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.
|
| 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.
|
IgniteBiTuple<Map<Class<?>,Collection>,? extends GridSpringResourceContext> |
IgniteSpringHelper.loadBeans(URL cfgUrl,
Class<?>... beanClasses)
Loads bean instances that match the given types from given configuration file.
|
GridTuple3<Map<String,?>,Map<Class<?>,Collection>,? extends GridSpringResourceContext> |
IgniteSpringHelper.loadBeans(URL cfgUrl,
Collection<String> beanNames,
Class<?>... beanClasses)
Loads bean instances that match the given types or names 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.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract VisorCacheGroupEncryptionTask.VisorSingleFieldDto<T> |
VisorCacheGroupEncryptionTask.VisorReencryptionBaseJob.run0(CacheGroupContext grp)
Executes internal logic of the job.
|
| Modifier and Type | Method and Description |
|---|---|
T |
IgniteProducer.produce() |
| Modifier and Type | Method and Description |
|---|---|
static File |
JavaLoggerFileHandler.logDirectory(String workDir)
Resolves logging directory.
|
void |
JavaLoggerFileHandler.nodeId(@Nullable String app,
@Nullable UUID nodeId,
String workDir)
Sets Node id and instantiates
FileHandler delegate. |
void |
JavaLoggerFileHandler.nodeId(UUID nodeId,
String workDir)
Sets Node id and instantiates
FileHandler delegate. |
| Modifier and Type | Method and Description |
|---|---|
@Nullable MaintenanceTask |
MaintenanceRegistry.registerMaintenanceTask(MaintenanceTask task)
Method to register
MaintenanceTask locally on the node where method is called. |
void |
MaintenanceRegistry.registerMaintenanceTask(MaintenanceTask task,
UnaryOperator<MaintenanceTask> remappingFunction)
Method to register
MaintenanceTask locally on the node where method is called. |
default void |
MaintenanceRegistry.registerWorkflowCallbackIfTaskExists(@NotNull String maintenanceTaskName,
@NotNull IgniteThrowableFunction<MaintenanceTask,MaintenanceWorkflowCallback> workflowCalProvider)
Call the
MaintenanceRegistry.registerWorkflowCallback(String, MaintenanceWorkflowCallback) if the active maintenance task
with given name exists. |
| 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[] |
AbstractNodeNameAwareMarshaller.marshal(@Nullable Object obj)
Marshals object to byte array.
|
byte[] |
Marshaller.marshal(@Nullable Object obj)
Marshals object to byte array.
|
void |
AbstractNodeNameAwareMarshaller.marshal(@Nullable Object obj,
OutputStream out)
Marshals object to the output stream.
|
void |
Marshaller.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 |
AbstractNodeNameAwareMarshaller.unmarshal(byte[] arr,
@Nullable ClassLoader clsLdr)
Unmarshals object from byte array using given class loader.
|
<T> T |
Marshaller.unmarshal(byte[] arr,
@Nullable ClassLoader clsLdr)
Unmarshals object from byte array using given class loader.
|
<T> T |
AbstractNodeNameAwareMarshaller.unmarshal(InputStream in,
@Nullable ClassLoader clsLdr)
Unmarshals object from the input stream using given class loader.
|
<T> T |
Marshaller.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 |
PerformanceStatisticsMBean.rotate()
Rotate performance statistics in the cluster.
|
void |
PerformanceStatisticsMBean.start()
Start collecting performance statistics in the cluster.
|
void |
PerformanceStatisticsMBean.stop()
Stop collecting performance statistics in the cluster.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PluginProvider.initExtensions(PluginContext ctx,
ExtensionRegistry registry)
Registers extensions.
|
void |
PluginProvider.onIgniteStart()
Callback that notifies that Ignite has successfully started,
including all internal components.
|
void |
CachePluginProvider.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 filterReachableAddrs) |
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 |
GridNioServerWrapper.processSessionCreationError(ClusterNode node,
Collection<InetSocketAddress> addrs,
IgniteCheckedException errs)
Deprecated.
Process errors if TCP/IP
GridNioSession creation to remote node hasn't been performed. |
| Modifier and Type | Method and Description |
|---|---|
String |
ConnectionClientPool.clientString(GridCommunicationClient client,
ClusterNode node)
Returns the string representation of client with protection from null client value.
|
@Nullable GridCommunicationClient |
ConnectionClientPool.createCommunicationClient(ClusterNode node,
int connIdx) |
GridNioSession |
GridNioServerWrapper.createNioSession(ClusterNode node,
int connIdx)
Deprecated.
Returns the established TCP/IP connection between the current node and remote server.
|
GridCommunicationClient |
GridNioServerWrapper.createTcpClient(ClusterNode node,
int connIdx,
boolean backwardCompatibility)
Deprecated.
Establish TCP connection to remote node and returns client.
|
void |
ConnectionClientPool.forceCloseConnection(UUID nodeId)
Closing connections to node.
|
static Collection<InetSocketAddress> |
CommunicationTcpUtils.nodeAddresses(ClusterNode node,
boolean filterReachableAddrs,
AttributeNames attrs,
Supplier<ClusterNode> localNode) |
void |
GridNioServerWrapper.processSessionCreationError(ClusterNode node,
Collection<InetSocketAddress> addrs,
IgniteCheckedException errs)
Deprecated.
Process errors if TCP/IP
GridNioSession creation to remote node hasn't been performed. |
void |
ConnectionRequestor.request(ClusterNode node,
int connIdx)
Request opening of TCP connection from node
node with index connIdx. |
GridCommunicationClient |
ConnectionClientPool.reserveClient(ClusterNode node,
int connIdx)
Returns existing or just created client to node.
|
GridNioServer<Message> |
GridNioServerWrapper.resetNioServer()
Deprecated.
Recreates tpcSrvr socket instance.
|
long |
TcpHandshakeExecutor.tcpHandshake(SocketChannel ch,
UUID rmtNodeId,
GridSslMeta sslMeta,
HandshakeMessage msg)
Establish the first connection to the node and receive connection recovery information.
|
| Constructor and Description |
|---|
GridNioServerWrapper(IgniteLogger log,
TcpCommunicationConfiguration cfg,
AttributeNames attributeNames,
Tracing tracing,
Function<UUID,ClusterNode> nodeGetter,
Supplier<ClusterNode> locNodeSupplier,
ConnectGateway connectGate,
ClusterStateProvider stateProvider,
Supplier<IgniteExceptionRegistry> eRegistrySupplier,
CommunicationWorker commWorker,
IgniteConfiguration igniteCfg,
GridNioServerListener<Message> srvLsnr,
String igniteInstanceName,
WorkersRegistry workersRegistry,
@Nullable GridMetricManager metricMgr,
ThrowableBiFunction<ClusterNode,Integer,GridCommunicationClient,IgniteCheckedException> createTcpClientFun,
CommunicationListener<Message> lsnr,
TcpHandshakeExecutor tcpHandshakeExecutor)
Deprecated.
|
| 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.15.0 Release Date : April 25 2023