com.fasterxml.clustermate.client.call.ContentGetter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clustermate-client Show documentation
Show all versions of clustermate-client Show documentation
Building blocks for client libraries that access
ClusterMate-based service.
package com.fasterxml.clustermate.client.call;
import com.fasterxml.clustermate.api.EntryKey;
import com.fasterxml.storemate.shared.ByteRange;
/**
* Interface for a general purpose GET accessor, for a resource stored
* in a single server; one accessor per server and end point.
*/
public interface ContentGetter
{
public ReadCallResult tryGet(CallConfig config, ReadCallParameters params,
long endOfTime,
K contentId, GetContentProcessor processor, ByteRange range);
}