public class CounterBuffer extends Object
Constructor and Description |
---|
CounterBuffer(long timestamp) |
Modifier and Type | Method and Description |
---|---|
void |
add(long delta) |
long |
getTimestamp() |
Long |
getValue()
Returns the buffer value.
|
void |
reset() |
void |
setTimestamp(long timestamp) |
public void add(long delta)
public void reset()
public Long getValue()
public long getTimestamp()
public void setTimestamp(long timestamp)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.