public class ThriftArtifactCacheProtocol extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ThriftArtifactCacheProtocol.ProtocolException |
static class |
ThriftArtifactCacheProtocol.Request |
static class |
ThriftArtifactCacheProtocol.Response |
Modifier and Type | Method and Description |
---|---|
static String |
computeMd5Hash(com.google.common.io.ByteSource source) |
static ThriftArtifactCacheProtocol.Request |
createRequest(ThriftProtocol protocol,
com.facebook.buck.artifact_cache.thrift.BuckCacheRequest request,
com.google.common.io.ByteSource... payloadByteSources) |
static ThriftArtifactCacheProtocol.Response |
parseResponse(ThriftProtocol protocol,
InputStream responseStream) |
public static ThriftArtifactCacheProtocol.Request createRequest(ThriftProtocol protocol, com.facebook.buck.artifact_cache.thrift.BuckCacheRequest request, com.google.common.io.ByteSource... payloadByteSources) throws IOException
IOException
public static ThriftArtifactCacheProtocol.Response parseResponse(ThriftProtocol protocol, InputStream responseStream) throws IOException
IOException
public static String computeMd5Hash(com.google.common.io.ByteSource source) throws IOException
IOException