K - The type of the key to delete.public static class DeleteEventFactory.EmptyDeleteEventFactory<K> extends java.lang.Object implements DeleteEventFactory<K>
DeleteEventFactory.EmptyDeleteEventFactory<K>| Constructor and Description |
|---|
DeleteEventFactory.EmptyDeleteEventFactory() |
| 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.
|
public DeleteEventFactory.EmptyDeleteEventFactory()
public <E extends Event> com.google.common.base.Optional<E> startEvent(K key)
DeleteEventFactorystartEvent in interface DeleteEventFactory<K>E - the type of eventkey - the key being deletedpublic <E extends Event> com.google.common.base.Optional<E> progressEvent(K key, double progress)
DeleteEventFactoryprogressEvent in interface DeleteEventFactory<K>E - the type of event.key - the key being deleted.progress - a representation of the progress of the delete operation.public <E extends Event> com.google.common.base.Optional<E> endEvent(K key, int numValuesDeleted)
DeleteEventFactoryendEvent in interface DeleteEventFactory<K>E - the type of event.key - the key being deleted.numValuesDeleted - the number of values deleted in the chunk operation.public <E extends Event> com.google.common.base.Optional<E> exceptionEvent(K key, DeleteException exception)
DeleteEventFactoryexceptionEvent in interface DeleteEventFactory<K>E - the type of event.key - the key being deleted.exception - the DeleteException raised while deleting the value from a Chunk.