@UsesJava8 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,
java.util.function.Consumer<B> consumer) |
B |
find(String name) |
void |
forEach(java.util.function.Predicate<String> predicate,
java.util.function.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(java.util.function.Predicate<String> predicate, java.util.function.BiConsumer<String,B> consumer)
public int count()
protected final void doWith(String name, java.util.function.Consumer<B> consumer)
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.