public class CounterBuffers extends Object
CounterBuffer
.Constructor and Description |
---|
CounterBuffers() |
Modifier and Type | Method and Description |
---|---|
int |
count() |
protected CounterBuffer |
createBuffer() |
protected void |
doWith(String name,
Consumer<B> consumer) |
B |
find(String name) |
void |
forEach(Predicate<String> predicate,
BiConsumer<String,B> consumer) |
void |
increment(String name,
long delta) |
void |
reset(String name) |
public void increment(String name, long delta)
public void reset(String name)
protected CounterBuffer createBuffer()
public void forEach(Predicate<String> predicate, BiConsumer<String,B> consumer)
public int count()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.