Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.fasterxml.clustermate.client.operation;
 
 import java.util.List;
 
Result value produced by StoreEntryLister, contains information about success of individual call, as well as sequence of listed entries in case of successful call.
    protected List<T> _items;
    
    protected StorableKey _lastSeen;
    
    public ListOperationResult(OperationConfig config)
    {
        super(config);
    }
    public ListOperationResult<T> setItems(ClusterServerNode serverListCallResult<T> result)
    {
        if ( != null) {
            throw new IllegalStateException("Already received successful response from "++"; trying to override with "+server);
        }
         = server;
         = result.getItems();
         = result.getLastSeen();
        return this;
    }
    public List<T> getItems() { return ; }
    public StorableKey getLastSeen() { return ; }
New to GrepCode? Check out our FAQ X