K - public class QueryEndEventFactory<K,V> extends QueryEventFactory.EmptyQueryEventFactory<K,V>
QueryEventFactory.EmptyQueryEventFactory<K,V>| Constructor and Description |
|---|
QueryEndEventFactory() |
| Modifier and Type | Method and Description |
|---|---|
<E extends Event> |
endEvent(K key,
QueryResult<V> values)
Generate an end event for querying the given key with the given QueryResult.
|
exceptionEvent, progressEvent, startEventpublic <E extends Event> com.google.common.base.Optional<E> endEvent(K key, QueryResult<V> values)
QueryEventFactoryendEvent in interface QueryEventFactory<K,V>endEvent in class QueryEventFactory.EmptyQueryEventFactory<K,V>E - the type of event.key - the key being queried.values - the QueryResult of the query operation.