K - The type of key to delete.public interface DeleteEventFactory<K> extends EventFactory<K,java.lang.Object>
| Modifier and Type | Interface and Description |
|---|---|
static class |
DeleteEventFactory.EmptyDeleteEventFactory<K>
An empty implementation of the DeleteEventFactory interface.
|
| Modifier and Type | Method and Description |
|---|---|
<E extends Event> |
endEvent(K key,
int numValuesDeleted)
Generate an end event for deleting the given Key.
|
<E extends Event> |
exceptionEvent(K key,
DeleteException exception)
Generate an exception event for deleting the given Key.
|
<E extends Event> |
progressEvent(K key,
double progress)
Generate a progress event for deleting the given Key.
|
<E extends Event> |
startEvent(K key)
Generate a start event for deleting the given key.
|
<E extends Event> com.google.common.base.Optional<E> startEvent(K key)
E - the type of eventkey - the key being deleted<E extends Event> com.google.common.base.Optional<E> progressEvent(K key, double progress)
E - the type of event.key - the key being deleted.progress - a representation of the progress of the delete operation.<E extends Event> com.google.common.base.Optional<E> endEvent(K key, int numValuesDeleted)
E - the type of event.key - the key being deleted.numValuesDeleted - the number of values deleted in the chunk operation.<E extends Event> com.google.common.base.Optional<E> exceptionEvent(K key, DeleteException exception)
E - the type of event.key - the key being deleted.exception - the DeleteException raised while deleting the value from a Chunk.