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, startEvent
public <E extends Event> com.google.common.base.Optional<E> endEvent(K key, QueryResult<V> values)
QueryEventFactory
endEvent
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.