public class StaticMvccQueryTracker extends Object implements MvccQueryTracker
ID_CNTR, MVCC_TRACKER_ID_NA| Constructor and Description |
|---|
StaticMvccQueryTracker(GridCacheContext cctx,
MvccSnapshot snapshot) |
| 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() |
public StaticMvccQueryTracker(GridCacheContext cctx, MvccSnapshot snapshot)
cctx - Cache context.snapshot - Mvcc snapshot.public 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.public long id()
id in interface MvccQueryTracker
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019