net.therore.concurrent
Class SampleContainer
java.lang.Object
net.therore.concurrent.SampleContainer
public class SampleContainer
- extends Object
|
Field Summary |
static int |
MIN_SLOT_EXECUTIONS
|
static long |
OVERHEAD_RELATION
if OVERHEAD_RELATION = 1, It allows 100% of overhead
if OVERHEAD_RELATION = 100, It allows 1% of overhead |
OVERHEAD_RELATION
public static final long OVERHEAD_RELATION
- if OVERHEAD_RELATION = 1, It allows 100% of overhead
if OVERHEAD_RELATION = 100, It allows 1% of overhead
- See Also:
- Constant Field Values
MIN_SLOT_EXECUTIONS
public static final int MIN_SLOT_EXECUTIONS
- See Also:
- Constant Field Values
SampleContainer
public SampleContainer(int initValue)
getThroughput
public double getThroughput()
- Returns:
- executions per second
annotationExecution
public int annotationExecution(long timestamp,
ParameterOptimizer poolSizeCalculator,
SampleContainer.ExecutionState state)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2014. All rights reserved.