Gets how long, in nanoseconds, it took for the client to deserialize the response from Thrift format.
Gets how long, in nanoseconds, it took for the client to deserialize the response from Thrift format.
Negative values indicate that this was not recorded and as such, should be ignored.
Deserialize the given bytes.
Deserialize the given bytes.
Ensures that deserialization will only happen once for non fan-out responses regardless of future inputs. If different bytes are seen on future calls, this will still return the first deserialized result.
Gets the rpc method's name, if set.
Sets the name of the the rpc method.
Gets how long, in nanoseconds, it took for the client to serialize the request into Thrift format.
Gets how long, in nanoseconds, it took for the client to serialize the request into Thrift format.
Negative values indicate that this was not recorded and as such, should be ignored.
Sets how long, in nanoseconds, it took for the client to serialize the request into Thrift format.
Used by Thrift and ThriftMux Client to facilitate giving the Finagle stack access to various data that are computed outside of Finagle's stack.
This includes:
While this is thread-safe, it should only be used for the life of a single request/response pair.
When using Scrooge for code generation, a proper
ClientDeserializeCtx
will be available to code viaContexts.local(ClientDeserializeCtx.Key)
.this class has evolved and it's name is now a bit too specific for its more expanded role.