com.fasterxml.storemate.client.call.ContentGetter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of storemate-client-base Show documentation
Show all versions of storemate-client-base Show documentation
Building blocks for client libraries that access
StoreMate-based service.
package com.fasterxml.storemate.client.call;
import com.fasterxml.storemate.shared.ByteRange;
import com.fasterxml.storemate.shared.EntryKey;
/**
* 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 GetCallResult tryGet(CallConfig config, long endOfTime,
K contentId, GetContentProcessor processor, ByteRange range);
}