com.fasterxml.clustermate.client.call.ContentHeader 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;
/**
* Interface for a general purpose HEAD accessor, for a resource stored
* in a single server; one accessor per server and end point.
*/
public interface ContentHeader
{
/**
* Method to call to try to make a single HEAD call to specified server
* node.
*
* @param config Configuration settings to use for call
* @param endOfTime Time point at which the whole operation will time out
* @param contentId Key of content to access
*/
public HeadCallResult tryHead(CallConfig config, ReadCallParameters params,
long endOfTime, K contentId);
}