mdk_discovery.FailurePolicy Maven / Gradle / Ivy
/* Quark 1.0.452 run at 2016-11-11 16:09:46.008093 */
package mdk_discovery;
/**
* A policy for choosing how to deal with failures.
*/
public interface FailurePolicy {
public static quark.reflect.Class mdk_discovery_FailurePolicy_ref = datawire_mdk_md.Root.mdk_discovery_FailurePolicy_md;
/**
* Record a success for the Node this policy is managing.
*/
void success();
/**
* Record a failure for the Node this policy is managing.
*/
void failure();
/**
* Return whether the Node should be accessed.
*/
Boolean available();
}