public class HistogramStateFactory extends Object implements AccumulatorStateFactory<HistogramState>
Constructor and Description |
---|
HistogramStateFactory(Type keyType,
int expectedEntriesCount,
HistogramGroupImplementation mode) |
Modifier and Type | Method and Description |
---|---|
HistogramState |
createGroupedState() |
HistogramState |
createSingleState() |
Class<? extends HistogramState> |
getGroupedStateClass() |
Class<? extends HistogramState> |
getSingleStateClass() |
public HistogramStateFactory(Type keyType, int expectedEntriesCount, HistogramGroupImplementation mode)
public HistogramState createSingleState()
createSingleState
in interface AccumulatorStateFactory<HistogramState>
public Class<? extends HistogramState> getSingleStateClass()
getSingleStateClass
in interface AccumulatorStateFactory<HistogramState>
public HistogramState createGroupedState()
createGroupedState
in interface AccumulatorStateFactory<HistogramState>
public Class<? extends HistogramState> getGroupedStateClass()
getGroupedStateClass
in interface AccumulatorStateFactory<HistogramState>
Copyright © 2012–2019. All rights reserved.