V - the value typepublic static class NullImplementation.NullCollector<V> extends Object implements com.oracle.coherence.common.base.Collector<V>
Collector implementation that does nothing.| Modifier and Type | Field and Description |
|---|---|
static NullImplementation.NullCollector |
INSTANCE
Singleton (unchecked) instance of a Collector.
|
| Constructor and Description |
|---|
NullCollector() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(V value)
Notify the collector of a item of interest.
|
void |
flush()
Request processing of any added values.
|
public static final NullImplementation.NullCollector INSTANCE
public void add(V value)
add in interface com.oracle.coherence.common.base.Collector<V>value - the item to collectpublic void flush()
This method should be called after a call or series of calls to Collector.add(V).
flush in interface com.oracle.coherence.common.base.Collector<V>