## Uses of Class
org.apache.ignite.internal.processors.cache.GridCacheSharedContext

Packages that use GridCacheSharedContext
Package | Description
--- | ---
org.apache.ignite.internal.processors.cache |
org.apache.ignite.internal.processors.cache.distributed |
org.apache.ignite.internal.processors.cache.distributed.dht |
org.apache.ignite.internal.processors.cache.distributed.dht.atomic |
org.apache.ignite.internal.processors.cache.distributed.dht.preloader |
org.apache.ignite.internal.processors.cache.distributed.near |
org.apache.ignite.internal.processors.cache.query |
org.apache.ignite.internal.processors.cache.transactions |

### Uses of GridCacheSharedContext in org.apache.ignite.internal.processors.cache

Fields in org.apache.ignite.internal.processors.cache declared as GridCacheSharedContext
Modifier and Type | Field and Description
--- | ---
`protected GridCacheSharedContext<K,V>` | GridCacheSharedManagerAdapter.`cctx` Context.

Methods in org.apache.ignite.internal.processors.cache that return GridCacheSharedContext
Modifier and Type | Method and Description
--- | ---
`protected GridCacheSharedContext<K,V>` | GridCacheSharedManagerAdapter.`context()`
`<K,V> GridCacheSharedContext<K,V>` | GridCacheProcessor.`context()`
`GridCacheSharedContext<K,V>` | GridCacheContext.`shared()`

Methods in org.apache.ignite.internal.processors.cache with parameters of type GridCacheSharedContext
Modifier and Type | Method and Description
--- | ---
`static Collection<ClusterNode>` | GridCacheUtils.`aliveCacheNodes(GridCacheSharedContext ctx, long topOrder)` Gets alive nodes with at least one cache configured.
`static Collection<ClusterNode>` | GridCacheUtils.`aliveRemoteCacheNodes(GridCacheSharedContext ctx, long topOrder)` Gets alive remote nodes with at least one cache configured.
`static Collection<ClusterNode>` | GridCacheUtils.`allNodes(GridCacheSharedContext ctx, long topOrder)` Gets all nodes with at least one cache configured.
`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` | GridCacheEvictionResponse.`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` | GridCacheEvictionRequest.`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.
`static byte[]` | GridCacheUtils.`marshal(GridCacheSharedContext ctx, Object obj)`
`protected LinkedHashMap<byte[],Boolean>` | GridCacheMessage.`marshalBooleanLinkedMap(LinkedHashMap<?,Boolean> map, GridCacheSharedContext ctx)`
`protected List<byte[]>` | GridCacheMessage.`marshalCollection(Collection<?> col, GridCacheSharedContext ctx)`
`protected byte[][]` | GridCacheMessage.`marshalInvokeArguments(Object[] args, GridCacheSharedContext ctx)`
`protected void` | GridCacheMessage.`marshalTx(Iterable<IgniteTxEntry> txEntries, GridCacheSharedContext ctx)`
`static ClusterNode` | GridCacheUtils.`oldest(GridCacheSharedContext ctx)` Gets oldest alive node across nodes with at least one cache configured.
`static ClusterNode` | GridCacheUtils.`oldest(GridCacheSharedContext cctx, long topOrder)` Gets oldest alive node with at least one cache configured for specified topology version.
`void` | GridCacheMessage.`prepareMarshal(GridCacheSharedContext ctx)` This method is called before the whole message is serialized and is responsible for pre-marshalling state.
`void` | GridCacheEvictionResponse.`prepareMarshal(GridCacheSharedContext ctx)` This method is called before the whole message is serialized and is responsible for pre-marshalling state.
`void` | GridCacheEvictionRequest.`prepareMarshal(GridCacheSharedContext ctx)` This method is called before the whole message is serialized and is responsible for pre-marshalling state.
`protected void` | GridCacheMessage.`prepareObject(Object o, GridCacheSharedContext ctx)`
`static Collection<ClusterNode>` | GridCacheUtils.`remoteNodes(GridCacheSharedContext ctx)` Gets remote node with at least one cache configured.
`static Collection<ClusterNode>` | GridCacheUtils.`remoteNodes(GridCacheSharedContext ctx, long topVer)` Gets remote nodes with at least one cache configured.
`void` | GridCacheSharedManager.`start(GridCacheSharedContext<K,V> cctx)` Starts manager.
`void` | GridCacheSharedManagerAdapter.`start(GridCacheSharedContext<K,V> cctx)` Starts manager.
`static <K,V> UUID` | GridCacheUtils.`subjectId(IgniteInternalTx tx, GridCacheSharedContext<K,V> ctx)` Gets subject ID by transaction.
`protected <K1> LinkedHashMap<K1,Boolean>` | GridCacheMessage.`unmarshalBooleanLinkedMap(Map<byte[],Boolean> byteMap, GridCacheSharedContext ctx, ClassLoader ldr)`
`protected <T> List<T>` | GridCacheMessage.`unmarshalCollection(Collection<byte[]> byteCol, GridCacheSharedContext ctx, ClassLoader ldr)`
`protected Object[]` | GridCacheMessage.`unmarshalInvokeArguments(byte[][] byteCol, GridCacheSharedContext ctx, ClassLoader ldr)`
`protected void` | GridCacheMessage.`unmarshalTx(Iterable<IgniteTxEntry> txEntries, boolean near, GridCacheSharedContext ctx, ClassLoader ldr)`
`static <K,V> void` | GridCacheUtils.`unwindEvicts(GridCacheSharedContext<K,V> ctx)`

Constructors in org.apache.ignite.internal.processors.cache with parameters of type GridCacheSharedContext
Constructor and Description

`GridCacheContext(GridKernalContext ctx, GridCacheSharedContext sharedCtx, CacheConfiguration cacheCfg, GridCacheEventManager evtMgr, GridCacheSwapManager swapMgr, GridCacheStoreManager storeMgr, GridCacheEvictionManager evictMgr, GridCacheQueryManager<K,V> qryMgr, CacheContinuousQueryManager contQryMgr, GridCacheAffinityManager affMgr, CacheDataStructuresManager dataStructuresMgr, GridCacheTtlManager ttlMgr, GridCacheDrManager drMgr, CacheJtaManagerAdapter jtaMgr)`

### Uses of GridCacheSharedContext in org.apache.ignite.internal.processors.cache.distributed

Methods in org.apache.ignite.internal.processors.cache.distributed with parameters of type GridCacheSharedContext
Modifier and Type | Method and Description
--- | ---
`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` | 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` | GridDistributedTxFinishRequest.`finishUnmarshal(GridCacheSharedContext ctx, ClassLoader ldr)` This method is called after the message is deserialized and is responsible for unmarshalling state marshalled in `GridCacheMessage.prepareMarshal(GridCacheSharedContext)` method.
`void` | GridDistributedTxPrepareResponse.`finishUnmarshal(GridCacheSharedContext ctx, ClassLoader ldr)` This method is called after the message is deserialized and is responsible for unmarshalling state marshalled in `GridCacheMessage.prepareMarshal(GridCacheSharedContext)` method.
`void` | 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` | GridDistributedBaseMessage.`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` | 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` | GridDistributedLockRequest.`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` | GridDistributedTxFinishRequest.`prepareMarshal(GridCacheSharedContext ctx)` This method is called before the whole message is serialized and is responsible for pre-marshalling state.
`void` | GridDistributedTxPrepareResponse.`prepareMarshal(GridCacheSharedContext ctx)` This method is called before the whole message is serialized and is responsible for pre-marshalling state.
`void` | GridDistributedUnlockRequest.`prepareMarshal(GridCacheSharedContext ctx)` This method is called before the whole message is serialized and is responsible for pre-marshalling state.
`void` | GridDistributedBaseMessage.`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` | GridCacheTtlUpdateRequest.`prepareMarshal(GridCacheSharedContext ctx)` This method is called before the whole message is serialized and is responsible for pre-marshalling state.

Constructors in org.apache.ignite.internal.processors.cache.distributed with parameters of type GridCacheSharedContext
Constructor and Description
`GridCacheOptimisticCheckPreparedTxFuture(GridCacheSharedContext<K,V> cctx, IgniteInternalTx tx, UUID failedNodeId, Map<UUID,Collection<UUID>> txNodes)`
`GridCacheTxFinishSync(GridCacheSharedContext<K,V> cctx)`
`GridDistributedTxRemoteAdapter(GridCacheSharedContext<?,?> ctx, UUID nodeId, long rmtThreadId, GridCacheVersion xidVer, GridCacheVersion commitVer, boolean sys, GridIoPolicy plc, TransactionConcurrency concurrency, TransactionIsolation isolation, boolean invalidate, long timeout, int txSize, IgniteTxKey grpLockKey, UUID subjId, int taskNameHash)`

### Uses of GridCacheSharedContext in org.apache.ignite.internal.processors.cache.distributed.dht

Methods in org.apache.ignite.internal.processors.cache.distributed.dht with parameters of type GridCacheSharedContext
Modifier and Type | Method and Description
--- | ---
`void` | GridDhtUnlockRequest.`addNearKey(KeyCacheObject key, GridCacheSharedContext ctx)` Adds a Near key.
`void` | GridDhtLockRequest.`addNearKey(KeyCacheObject key, GridCacheSharedContext ctx)` Adds a Near key.
`void` | GridDhtUnlockRequest.`finishUnmarshal(GridCacheSharedContext ctx, ClassLoader ldr)` This method is called after the message is deserialized and is responsible for unmarshalling state marshalled in `GridCacheMessage.prepareMarshal(GridCacheSharedContext)` method.
`void` | GridDhtLockResponse.`finishUnmarshal(GridCacheSharedContext ctx, ClassLoader ldr)` This method is called after the message is deserialized and is responsible for unmarshalling state marshalled in `GridCacheMessage.prepareMarshal(GridCacheSharedContext)` method.
`void` | 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` | 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` | 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` | 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` | GridDhtUnlockRequest.`prepareMarshal(GridCacheSharedContext ctx)` This method is called before the whole message is serialized and is responsible for pre-marshalling state.
`void` | GridDhtLockResponse.`prepareMarshal(GridCacheSharedContext ctx)` This method is called before the whole message is serialized and is responsible for pre-marshalling state.
`void` | GridDhtTxPrepareResponse.`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` | GridDhtLockRequest.`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.

Constructors in org.apache.ignite.internal.processors.cache.distributed.dht with parameters of type GridCacheSharedContext
Constructor and Description
`GridClientPartitionTopology(GridCacheSharedContext cctx, int cacheId, GridDhtPartitionExchangeId exchId)`
`GridDhtTxFinishFuture(GridCacheSharedContext<K,V> cctx, GridDhtTxLocalAdapter tx, boolean commit)`

`GridDhtTxLocal(GridCacheSharedContext cctx, UUID nearNodeId, GridCacheVersion nearXidVer, IgniteUuid nearFutId, IgniteUuid nearMiniId, long nearThreadId, boolean implicit, boolean implicitSingle, boolean sys, GridIoPolicy plc, TransactionConcurrency concurrency, TransactionIsolation isolation, long timeout, boolean invalidate, boolean storeEnabled, int txSize, IgniteTxKey grpLockKey, boolean partLock, Map<UUID,Collection<UUID>> txNodes, UUID subjId, int taskNameHash)`

`GridDhtTxLocalAdapter(GridCacheSharedContext cctx, GridCacheVersion xidVer, boolean implicit, boolean implicitSingle, boolean sys, GridIoPolicy plc, TransactionConcurrency concurrency, TransactionIsolation isolation, long timeout, boolean invalidate, boolean storeEnabled, int txSize, IgniteTxKey grpLockKey, boolean partLock, UUID subjId, int taskNameHash)`
`GridDhtTxPrepareFuture(GridCacheSharedContext cctx, GridDhtTxLocalAdapter tx, IgniteUuid nearMiniId, Map<IgniteTxKey,GridCacheVersion> dhtVerMap, boolean last, boolean retVal, Collection<UUID> lastBackups, IgniteInClosure<GridNearTxPrepareResponse> completeCb)`

`GridDhtTxRemote(GridCacheSharedContext ctx, UUID nearNodeId, IgniteUuid rmtFutId, UUID nodeId, GridCacheVersion nearXidVer, long rmtThreadId, long topVer, GridCacheVersion xidVer, GridCacheVersion commitVer, boolean sys, GridIoPolicy plc, TransactionConcurrency concurrency, TransactionIsolation isolation, boolean invalidate, long timeout, int txSize, IgniteTxKey grpLockKey, UUID subjId, int taskNameHash)`
This constructor is meant for pessimistic transactions.

`GridDhtTxRemote(GridCacheSharedContext ctx, UUID nearNodeId, IgniteUuid rmtFutId, UUID nodeId, long rmtThreadId, long topVer, GridCacheVersion xidVer, GridCacheVersion commitVer, boolean sys, GridIoPolicy plc, TransactionConcurrency concurrency, TransactionIsolation isolation, boolean invalidate, long timeout, int txSize, IgniteTxKey grpLockKey, GridCacheVersion nearXidVer, Map<UUID,Collection<UUID>> txNodes, UUID subjId, int taskNameHash)`
This constructor is meant for optimistic transactions.

### Uses of GridCacheSharedContext in org.apache.ignite.internal.processors.cache.distributed.dht.atomic

Methods in org.apache.ignite.internal.processors.cache.distributed.dht.atomic with parameters of type GridCacheSharedContext
Modifier and Type | Method and Description
--- | ---
`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` | 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` | 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` | GridNearAtomicUpdateRequest.`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.`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` | GridNearAtomicUpdateResponse.`prepareMarshal(GridCacheSharedContext ctx)` This method is called before the whole message is serialized and is responsible for pre-marshalling state.
`void` | GridNearAtomicUpdateRequest.`prepareMarshal(GridCacheSharedContext ctx)` This method is called before the whole message is serialized and is responsible for pre-marshalling state.

### Uses of GridCacheSharedContext in org.apache.ignite.internal.processors.cache.distributed.dht.preloader

Methods in org.apache.ignite.internal.processors.cache.distributed.dht.preloader with parameters of type GridCacheSharedContext
Modifier and Type | Method and Description
--- | ---
`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` | 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` | 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` | 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` | GridDhtPartitionsSingleMessage.`finishUnmarshal(GridCacheSharedContext ctx, ClassLoader ldr)` This method is called after the message is deserialized and is responsible for unmarshalling state marshalled in `GridCacheMessage.prepareMarshal(GridCacheSharedContext)` method.
`void` | GridDhtPartitionDemandMessage.`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` | GridDhtForceKeysResponse.`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` | GridDhtPartitionsSingleMessage.`prepareMarshal(GridCacheSharedContext ctx)` This method is called before the whole message is serialized and is responsible for pre-marshalling state.

Constructors in org.apache.ignite.internal.processors.cache.distributed.dht.preloader with parameters of type GridCacheSharedContext
Constructor and Description
`GridDhtPartitionsExchangeFuture(GridCacheSharedContext cctx, boolean reassign, DiscoveryEvent discoEvt, GridDhtPartitionExchangeId exchId)` Dummy future created to trigger reassignments if partition topology changed while preloading.
`GridDhtPartitionsExchangeFuture(GridCacheSharedContext cctx, DiscoveryEvent discoEvt, GridDhtPartitionExchangeId exchId)` Force preload future created to trigger reassignments if partition topology changed while preloading.
`GridDhtPartitionsExchangeFuture(GridCacheSharedContext cctx, ReadWriteLock busyLock, GridDhtPartitionExchangeId exchId)`

### Uses of GridCacheSharedContext in org.apache.ignite.internal.processors.cache.distributed.near

Methods in org.apache.ignite.internal.processors.cache.distributed.near with parameters of type GridCacheSharedContext
Modifier and Type | Method and Description
--- | ---
`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` | GridNearGetRequest.`finishUnmarshal(GridCacheSharedContext ctx, ClassLoader ldr)`
`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.
`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` | GridNearLockRequest.`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` | 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.
`void` | GridNearTxFinishResponse.`prepareMarshal(GridCacheSharedContext ctx)` This method is called before the whole message is serialized and is responsible for pre-marshalling state.

Constructors in org.apache.ignite.internal.processors.cache.distributed.near with parameters of type GridCacheSharedContext
Constructor and Description
`GridNearTxFinishFuture(GridCacheSharedContext<K,V> cctx, GridNearTxLocal tx, boolean commit)`
`GridNearTxLocal(GridCacheSharedContext ctx, boolean implicit, boolean implicitSingle, boolean sys, GridIoPolicy plc, TransactionConcurrency concurrency, TransactionIsolation isolation, long timeout, boolean invalidate, boolean storeEnabled, int txSize, IgniteTxKey grpLockKey, boolean partLock, UUID subjId, int taskNameHash)`
`GridNearTxPrepareFuture(GridCacheSharedContext<K,V> cctx, GridNearTxLocal tx)`

`GridNearTxRemote(GridCacheSharedContext ctx, ClassLoader ldr, UUID nodeId, UUID nearNodeId, long rmtThreadId, GridCacheVersion xidVer, GridCacheVersion commitVer, boolean sys, GridIoPolicy plc, TransactionConcurrency concurrency, TransactionIsolation isolation, boolean invalidate, long timeout, Collection<IgniteTxEntry> writeEntries, int txSize, IgniteTxKey grpLockKey, UUID subjId, int taskNameHash)`
This constructor is meant for optimistic transactions.

`GridNearTxRemote(GridCacheSharedContext ctx, UUID nodeId, UUID nearNodeId, GridCacheVersion nearXidVer, long rmtThreadId, GridCacheVersion xidVer, GridCacheVersion commitVer, boolean sys, GridIoPolicy plc, TransactionConcurrency concurrency, TransactionIsolation isolation, boolean invalidate, long timeout, int txSize, IgniteTxKey grpLockKey, UUID subjId, int taskNameHash)`
This constructor is meant for pessimistic transactions.

### Uses of GridCacheSharedContext in org.apache.ignite.internal.processors.cache.query

Methods in org.apache.ignite.internal.processors.cache.query with parameters of type GridCacheSharedContext
Modifier and Type | Method and Description
--- | ---
`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.
`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.`prepareMarshal(GridCacheSharedContext ctx)` This method is called before the whole message is serialized and is responsible for pre-marshalling state.
`void` | GridCacheQueryRequest.`prepareMarshal(GridCacheSharedContext ctx)` This method is called before the whole message is serialized and is responsible for pre-marshalling state.

### Uses of GridCacheSharedContext in org.apache.ignite.internal.processors.cache.transactions

Fields in org.apache.ignite.internal.processors.cache.transactions declared as GridCacheSharedContext
Modifier and Type | Field and Description
--- | ---
`protected GridCacheSharedContext<?,?>` | IgniteTxAdapter.`cctx` Cache registry.

Methods in org.apache.ignite.internal.processors.cache.transactions with parameters of type GridCacheSharedContext
Modifier and Type | Method and Description
--- | ---
`void` | IgniteTxEntry.`marshal(GridCacheSharedContext<?,?> ctx, boolean transferExpiry)`
`void` | TxEntryValueHolder.`marshal(GridCacheSharedContext<?,?> sharedCtx, GridCacheContext<?,?> ctx)`
`void` | IgniteTxEntry.`unmarshal(GridCacheSharedContext<?,?> ctx, boolean near, ClassLoader clsLdr)` Unmarshalls entry.

Constructors in org.apache.ignite.internal.processors.cache.transactions with parameters of type GridCacheSharedContext
Constructor and Description
`IgniteTransactionsImpl(GridCacheSharedContext<K,V> cctx)`
`IgniteTxAdapter(GridCacheSharedContext<?,?> cctx, GridCacheVersion xidVer, boolean implicit, boolean implicitSingle, boolean loc, boolean sys, GridIoPolicy plc, TransactionConcurrency concurrency, TransactionIsolation isolation, long timeout, boolean invalidate, boolean storeEnabled, int txSize, IgniteTxKey grpLockKey, UUID subjId, int taskNameHash)`
`IgniteTxAdapter(GridCacheSharedContext<?,?> cctx, UUID nodeId, GridCacheVersion xidVer, GridCacheVersion startVer, long threadId, boolean sys, GridIoPolicy plc, TransactionConcurrency concurrency, TransactionIsolation isolation, long timeout, int txSize, IgniteTxKey grpLockKey, UUID subjId, int taskNameHash)`
`IgniteTxHandler(GridCacheSharedContext ctx)`
`IgniteTxLocalAdapter(GridCacheSharedContext cctx, GridCacheVersion xidVer, boolean implicit, boolean implicitSingle, boolean sys, GridIoPolicy plc, TransactionConcurrency concurrency, TransactionIsolation isolation, long timeout, boolean invalidate, boolean storeEnabled, int txSize, IgniteTxKey grpLockKey, boolean partLock, UUID subjId, int taskNameHash)`
`TransactionProxyImpl(IgniteInternalTx tx, GridCacheSharedContext<K,V> cctx, boolean async)`

2015 Copyright © Apache Software Foundation

Follow @ApacheIgnite

Ignite Fabric | : ver. 1.0.0-RC3
Release Date | : March 24 2015