Uses of Class
org.elasticsearch.index.translog.Translog.Location
-
-
Uses of Translog.Location in org.elasticsearch.action.bulk
Methods in org.elasticsearch.action.bulk that return Translog.Location Modifier and Type Method Description static Translog.LocationTransportShardBulkAction. performOnReplica(BulkShardRequest request, IndexShard replica) -
Uses of Translog.Location in org.elasticsearch.action.resync
Methods in org.elasticsearch.action.resync that return Translog.Location Modifier and Type Method Description static Translog.LocationTransportResyncReplicationAction. performOnReplica(ResyncReplicationRequest request, IndexShard replica) -
Uses of Translog.Location in org.elasticsearch.action.support.replication
Fields in org.elasticsearch.action.support.replication declared as Translog.Location Modifier and Type Field Description Translog.LocationTransportWriteAction.WritePrimaryResult. locationTranslog.LocationTransportWriteAction.WriteReplicaResult. locationMethods in org.elasticsearch.action.support.replication that return Translog.Location Modifier and Type Method Description static Translog.LocationTransportWriteAction. locationToSync(Translog.Location current, Translog.Location next)protected static Translog.LocationTransportWriteAction. syncOperationResultOrThrow(Engine.Result operationResult, Translog.Location currentLocation)Syncs operation result to the translog or throws a shard not available failureMethods in org.elasticsearch.action.support.replication with parameters of type Translog.Location Modifier and Type Method Description static Translog.LocationTransportWriteAction. locationToSync(Translog.Location current, Translog.Location next)protected static Translog.LocationTransportWriteAction. syncOperationResultOrThrow(Engine.Result operationResult, Translog.Location currentLocation)Syncs operation result to the translog or throws a shard not available failureConstructors in org.elasticsearch.action.support.replication with parameters of type Translog.Location Constructor Description WritePrimaryResult(ReplicaRequest request, Response finalResponse, Translog.Location location, Exception operationFailure, IndexShard primary, org.apache.logging.log4j.Logger logger)WriteReplicaResult(ReplicaRequest request, Translog.Location location, Exception operationFailure, IndexShard replica, org.apache.logging.log4j.Logger logger) -
Uses of Translog.Location in org.elasticsearch.index.engine
Methods in org.elasticsearch.index.engine that return Translog.Location Modifier and Type Method Description abstract Translog.LocationEngine. getTranslogLastWriteLocation()Returns the last location that the translog of this engine has written into.Translog.LocationInternalEngine. getTranslogLastWriteLocation()Translog.LocationReadOnlyEngine. getTranslogLastWriteLocation()Translog.LocationEngine.Result. getTranslogLocation()get the translog location after executing the operationMethod parameters in org.elasticsearch.index.engine with type arguments of type Translog.Location Modifier and Type Method Description abstract booleanEngine. ensureTranslogSynced(Stream<Translog.Location> locations)Ensures that all locations in the given stream have been written to the underlying storage.booleanInternalEngine. ensureTranslogSynced(Stream<Translog.Location> locations)booleanReadOnlyEngine. ensureTranslogSynced(Stream<Translog.Location> locations) -
Uses of Translog.Location in org.elasticsearch.index.shard
Methods in org.elasticsearch.index.shard with parameters of type Translog.Location Modifier and Type Method Description booleanRefreshListeners. addOrNotify(Translog.Location location, Consumer<Boolean> listener)Add a listener for refreshes, calling it immediately if the location is already visible.voidIndexShard. addRefreshListener(Translog.Location location, Consumer<Boolean> listener)Add a listener for refreshes.voidIndexShard. sync(Translog.Location location, Consumer<Exception> syncListener)Syncs the given location with the underlying storage unless already synced.Method parameters in org.elasticsearch.index.shard with type arguments of type Translog.Location Modifier and Type Method Description voidRefreshListeners. setCurrentRefreshLocationSupplier(Supplier<Translog.Location> currentRefreshLocationSupplier)Setup the translog used to find the last refreshed location. -
Uses of Translog.Location in org.elasticsearch.index.translog
Methods in org.elasticsearch.index.translog that return Translog.Location Modifier and Type Method Description Translog.LocationTranslog. add(Translog.Operation operation)Adds an operation to the transaction log.Translog.LocationTranslogWriter. add(BytesReference data, long seqNo)Add the given bytes to the translog with the specified sequence number; returns the location the bytes were written to.Translog.LocationTranslog. getLastWriteLocation()The a Translog.Location that will sort after the Translog.Location returned by the last write but before any locations which can be returned by the next write.Methods in org.elasticsearch.index.translog with parameters of type Translog.Location Modifier and Type Method Description intTranslog.Location. compareTo(Translog.Location o)booleanTranslog. ensureSynced(Translog.Location location)Ensures that the given location has be synced / written to the underlying storage.Translog.OperationTranslog. readOperation(Translog.Location location)Reads and returns the operation from the given location if the generation it references is still available.Method parameters in org.elasticsearch.index.translog with type arguments of type Translog.Location Modifier and Type Method Description booleanTranslog. ensureSynced(Stream<Translog.Location> locations)Ensures that all locations in the given stream have been synced / written to the underlying storage.
-