public abstract class StatsContextFactory extends Object
StatsContext.| Constructor and Description |
|---|
StatsContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract StatsContext |
deserialize(InputStream input)
Creates a
StatsContext from the given on-the-wire encoded representation. |
abstract StatsContext |
getDefault()
Returns the default
StatsContext. |
public abstract StatsContext deserialize(InputStream input) throws 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 binary representation.
input - on-the-wire representation of a StatsContextStatsContext deserialized from inputIOExceptionpublic abstract StatsContext getDefault()
StatsContext.