org.springframework.batch.retry
Class StubItemKeyGeneratorRecoverer
java.lang.Object
org.springframework.batch.retry.StubItemKeyGeneratorRecoverer
- All Implemented Interfaces:
- ItemKeyGenerator, ItemRecoverer
public class StubItemKeyGeneratorRecoverer
- extends Object
- implements ItemRecoverer, ItemKeyGenerator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StubItemKeyGeneratorRecoverer
public StubItemKeyGeneratorRecoverer()
recover
public boolean recover(Object item,
Throwable cause)
- Do nothing. Subclassses should override to implement recovery behaviour.
- Specified by:
recover
in interface ItemRecoverer
- Returns:
- false if nothing can be done (the default), or true if the item
can now safely be ignored or committed.
- See Also:
ItemRecoverer.recover(java.lang.Object,
Throwable)
getKey
public Object getKey(Object item)
- Return the item (assume it is its own key).
- Specified by:
getKey
in interface ItemKeyGenerator
- See Also:
ItemKeyGenerator.getKey(java.lang.Object)
Copyright © 2008 SpringSource. All Rights Reserved.