public abstract class StatsContextFactory
extends java.lang.Object
StatsContext.| Constructor and Description |
|---|
StatsContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract StatsContext |
deserialize(java.io.InputStream input)
Creates a
StatsContext from the given on-the-wire encoded representation. |
abstract StatsContext |
getDefault()
Returns the default
StatsContext. |
public abstract StatsContext deserialize(java.io.InputStream input) throws java.io.IOException
StatsContext from the given on-the-wire encoded representation.
Should be the inverse of StatsContext.serialize(java.io.OutputStream). The
serialized representation should be based on the StatsContext protobuf representation.
input - on-the-wire representation of a StatsContextStatsContext deserialized from inputjava.io.IOExceptionpublic abstract StatsContext getDefault()
StatsContext.