Package org.apache.curator.framework.api
Interface Idempotentable<T>
- All Known Subinterfaces:
CreateBuilder
,DeleteBuilder
,SetDataBuilder
- All Known Implementing Classes:
CreateBuilderImpl
,DeleteBuilderImpl
,SetDataBuilderImpl
public interface Idempotentable<T>
-
Method Summary
Modifier and TypeMethodDescriptionIf the first try of this operation gets a transient error, curator will retry the operation, and treat it as successful so long as the end state of the znode is the same as if the operation had completed without error on the first try.
-
Method Details
-
idempotent
T idempotent()If the first try of this operation gets a transient error, curator will retry the operation, and treat it as successful so long as the end state of the znode is the same as if the operation had completed without error on the first try.- Returns:
- this:
-