public class MvccQueryTrackerImpl extends Object implements MvccQueryTracker
ID_CNTR, MVCC_TRACKER_ID_NA| Constructor and Description |
|---|
MvccQueryTrackerImpl(GridCacheContext cctx) |
MvccQueryTrackerImpl(GridCacheContext cctx,
boolean canRemap) |
| Modifier and Type | Method and Description |
|---|---|
GridCacheContext |
context() |
long |
id() |
void |
onDone()
Marks tracker as done.
|
IgniteInternalFuture<Void> |
onDone(GridNearTxLocal tx,
boolean commit)
Marks tracker as done.
|
long |
onMvccCoordinatorChange(MvccCoordinator newCrd)
Mvcc coordinator change callback.
|
IgniteInternalFuture<MvccSnapshot> |
requestSnapshot()
Requests version on coordinator.
|
IgniteInternalFuture<MvccSnapshot> |
requestSnapshot(AffinityTopologyVersion topVer)
Requests version on coordinator.
|
void |
requestSnapshot(AffinityTopologyVersion topVer,
MvccSnapshotResponseListener lsnr)
Requests version on coordinator.
|
MvccSnapshot |
snapshot() |
AffinityTopologyVersion |
topologyVersion() |
String |
toString() |
public MvccQueryTrackerImpl(GridCacheContext cctx)
cctx - Cache context.public MvccQueryTrackerImpl(GridCacheContext cctx, boolean canRemap)
cctx - Cache context.canRemap - True if tracker can remap on coordinator fail.public long id()
id in interface MvccQueryTrackerpublic MvccSnapshot snapshot()
snapshot in interface MvccQueryTrackerpublic GridCacheContext context()
context in interface MvccQueryTrackerpublic AffinityTopologyVersion topologyVersion()
topologyVersion in interface MvccQueryTrackerpublic IgniteInternalFuture<MvccSnapshot> requestSnapshot()
requestSnapshot in interface MvccQueryTrackerpublic IgniteInternalFuture<MvccSnapshot> requestSnapshot(@NotNull AffinityTopologyVersion topVer)
requestSnapshot in interface MvccQueryTrackertopVer - Topology version.public void requestSnapshot(@NotNull
AffinityTopologyVersion topVer,
@NotNull
MvccSnapshotResponseListener lsnr)
requestSnapshot in interface MvccQueryTrackertopVer - Topology version.lsnr - Response listener.public void onDone()
onDone in interface MvccQueryTrackerpublic IgniteInternalFuture<Void> onDone(@NotNull GridNearTxLocal tx, boolean commit)
onDone in interface MvccQueryTrackertx - Transaction.commit - Commit flag.public long onMvccCoordinatorChange(MvccCoordinator newCrd)
onMvccCoordinatorChange in interface MvccQueryTrackernewCrd - New mvcc coordinator.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019