Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
Snappy-Java Source Code
Snappy-Java is a Java port of the "snappy", a fast C++ compresser/decompresser developed by Google.
Snappy-Java Source Code files are provided in the source packge (snappy-java-1.1.8.4-sources.jar). You can download it at Snappy Maven Website.
You can also browse Snappy-Java Source Code below:
✍: FYIcenter.com
⏎ org/xerial/snappy/pool/DefaultPoolFactory.java
package org.xerial.snappy.pool; /** * Manages implementation of {@link BufferPool} to use by default. Setting the system property {@link #DISABLE_CACHING_PROPERTY} to {@code true} will * cause the {@link QuiescentBufferPool} to be used by default. Otherwise, {@link CachingBufferPool} will be used by default. * {@link #setDefaultPool(BufferPool)} can be used to explicitly control the implementation to use. */ public final class DefaultPoolFactory { /** * Name of system property to disable use of {@link CachingBufferPool} by default. */ public static final String DISABLE_CACHING_PROPERTY = "org.xerial.snappy.pool.disable"; private static volatile BufferPool defaultPool = "true".equalsIgnoreCase(System.getProperty(DISABLE_CACHING_PROPERTY)) ? QuiescentBufferPool.getInstance() : CachingBufferPool.getInstance(); /** * @return The default instance to use. */ public static BufferPool getDefaultPool() { return defaultPool; } /** * Sets the default instance to use. * @param pool The default instance to use. Must not be {@code null}. * @see #getDefaultPool() */ public static void setDefaultPool(BufferPool pool) { if (pool == null) { throw new IllegalArgumentException("pool is null"); } defaultPool = pool; } }
⏎ org/xerial/snappy/pool/DefaultPoolFactory.java
Or download all of them as a single archive file:
File name: snappy-java-1.1.8.4-sources.jar File size: 1962098 bytes Release date: 2021-01-25 Download
⇒ Download and Install Snappy-Java Binary Package
2021-07-13, 12342👍, 0💬
Popular Posts:
Java Cryptography Extension 1.2.2 JAR File Size and Download Location: File name: jce.jar, jce-1.2.2...
commons-collections4-4.4 -sources.jaris the source JAR file for Apache Commons Collections 4.2, whic...
JDK 11 jdk.internal.vm.compiler .jmodis the JMOD file for JDK 11 Internal VM Compiler module. JDK 11...
Commons Pool provides an Object-pooling API, with three major aspects: 1. A generic object pool inte...
What is the jaxp\SourceValidator.jav aprovided in the Apache Xerces package? I have Apache Xerces 2....