All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fasterxml.clustermate.client.call.ContentHeader Maven / Gradle / Ivy

There is a newer version: 0.10.5
Show newest version
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy