org.apache.curator.framework.api.CompressionProvider Java Examples

The following examples show how to use org.apache.curator.framework.api.CompressionProvider. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CuratorFrameworkFactory.java    From xian with Apache License 2.0 4 votes vote down vote up
public CompressionProvider getCompressionProvider()
{
    return compressionProvider;
}
 
Example #2
Source File: CuratorFrameworkFactory.java    From curator with Apache License 2.0 4 votes vote down vote up
public CompressionProvider getCompressionProvider()
{
    return compressionProvider;
}
 
Example #3
Source File: DiscoveryFactory.java    From snowizard-discovery with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
CompressionCodec(final CompressionProvider provider) {
    this.provider = provider;
}
 
Example #4
Source File: DiscoveryFactory.java    From snowizard-discovery with BSD 3-Clause "New" or "Revised" License 2 votes vote down vote up
/**
 * Gets the {@link CompressionProvider} for this codec.
 * 
 * @return the provider for this codec.
 */
public CompressionProvider getProvider() {
    return provider;
}
 
Example #5
Source File: DiscoveryFactory.java    From snowizard-discovery with BSD 3-Clause "New" or "Revised" License 2 votes vote down vote up
/**
 * 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();
}