Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.fasterxml.clustermate.client.operation;
 
Class used for returning information about operation success (or lack thereof).
 
 public interface OperationResult<T extends OperationResult<T>>
    /*
    /**********************************************************************
    /* Accessors
    /**********************************************************************
     */
    
    public OperationConfig getConfig();

    
Simple accessor for checking whether call succeeded to minimum degree required, or not. This means that we had at least minimal required number of succesful individual calls.
    public boolean succeededMinimally();

    
Simple accessor for checking whether call succeeded well enough that we may consider it full success. We may either choose to do more updates (if nodes are available); up to succeededMaximally() level; or just return and declare success.
    public boolean succeededOptimally();

    
Simple accessor for checking whether call succeeded as well as it could; meaning that no further calls should be made, even if more nodes were available.
    public boolean succeededMaximally();
    
    public int getFailCount();
    public int getIgnoreCount();
    public int getSuccessCount();
    public Iterable<NodeFailuregetFailures();
    public NodeFailure getFirstFail();
New to GrepCode? Check out our FAQ X