Class WriteLatencyAdjuster
java.lang.Object
com.google.appengine.api.datastore.dev.WriteLatencyAdjuster
- All Implemented Interfaces:
DynamicLatencyAdjuster
DynamicLatencyAdjuster that adds the paxos penalty for writes and takes the fact that
transactional puts and deletes are super-fast into account.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.google.appengine.tools.development.DynamicLatencyAdjuster
DynamicLatencyAdjuster.Default -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintadjust(LocalRpcService service, Object request, int latencyMs)
-
Constructor Details
-
WriteLatencyAdjuster
public WriteLatencyAdjuster()
-
-
Method Details
-
adjust
- Specified by:
adjustin interfaceDynamicLatencyAdjuster- Parameters:
service- The service on which the rpc is being invoked.request- The request that was provided to the service.latencyMs- The latency to adjust.- Returns:
- The adjusted latency.
-