Package org.apache.ignite.internal
Class IgniteDiagnosticPrepareContext
- java.lang.Object
-
- org.apache.ignite.internal.IgniteDiagnosticPrepareContext
-
public class IgniteDiagnosticPrepareContext extends Object
Groups diagnostic closures by node/closure type.
-
-
Constructor Summary
Constructors Constructor Description IgniteDiagnosticPrepareContext(UUID nodeId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbasicInfo(UUID nodeId, String msg)booleanempty()voidexchangeInfo(UUID nodeId, AffinityTopologyVersion topVer, String msg)voidremoteTxInfo(UUID nodeId, GridCacheVersion dhtVer, GridCacheVersion nearVer, String msg)voidsend(GridKernalContext ctx, @Nullable IgniteInClosure<IgniteInternalFuture<String>> lsnr)voidtxKeyInfo(UUID nodeId, int cacheId, Collection<KeyCacheObject> keys, String msg)
-
-
-
Constructor Detail
-
IgniteDiagnosticPrepareContext
public IgniteDiagnosticPrepareContext(UUID nodeId)
- Parameters:
nodeId- Local node ID.
-
-
Method Detail
-
exchangeInfo
public void exchangeInfo(UUID nodeId, AffinityTopologyVersion topVer, String msg)
- Parameters:
nodeId- Remote node ID.topVer- Topology version.msg- Initial message.
-
txKeyInfo
public void txKeyInfo(UUID nodeId, int cacheId, Collection<KeyCacheObject> keys, String msg)
- Parameters:
nodeId- Remote node ID.cacheId- Cache ID.keys- Entry keys.msg- Initial message.
-
remoteTxInfo
public void remoteTxInfo(UUID nodeId, GridCacheVersion dhtVer, GridCacheVersion nearVer, String msg)
- Parameters:
nodeId- Remote node ID.dhtVer- Tx dht version.nearVer- Tx near version.msg- Initial message.
-
basicInfo
public void basicInfo(UUID nodeId, String msg)
- Parameters:
nodeId- Remote node ID.msg- Initial message.
-
empty
public boolean empty()
- Returns:
Trueif there are no added closures.
-
send
public void send(GridKernalContext ctx, @Nullable @Nullable IgniteInClosure<IgniteInternalFuture<String>> lsnr)
- Parameters:
ctx- Grid context.lsnr- Optional listener (used in test).
-
-