Java 类org.apache.curator.framework.api.CompressionProvider 实例源码

项目:curator    文件:CuratorFrameworkFactory.java   
public CompressionProvider getCompressionProvider()
{
    return compressionProvider;
}
项目:snowizard-discovery    文件:DiscoveryFactory.java   
CompressionCodec(final CompressionProvider provider) {
    this.provider = provider;
}
项目:cultivar_old    文件:CuratorFrameworkProvider.java   
@Inject(optional = true)
public void setCompressionProvider(@Curator final CompressionProvider compressionProvider) {

    this.builder.compressionProvider(compressionProvider);

}
项目:cultivar    文件:CuratorFrameworkProvider.java   
@Inject(optional = true)
public void setCompressionProvider(@Curator final CompressionProvider compressionProvider) {

    this.builder.compressionProvider(compressionProvider);

}
项目:snowizard-discovery    文件:DiscoveryFactory.java   
/**
 * Gets the {@link CompressionProvider} for this codec.
 * 
 * @return the provider for this codec.
 */
public CompressionProvider getProvider() {
    return provider;
}
项目:snowizard-discovery    文件:DiscoveryFactory.java   
/**
 * Returns a {@link CompressionProvider} to compress values with.
 * 
 * @return the compression provider used to compress values.
 * 
 * @see CompressionCodec
 */
@JsonIgnore
public CompressionProvider getCompressionProvider() {
    return compression.getProvider();
}