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

com.javanut.pronghorn.util.TrieParserReaderLocal Maven / Gradle / Ivy

Go to download

Ring buffer based queuing utility for applications that require high performance and/or a small footprint. Well suited for embedded and stream based processing.

There is a newer version: 1.1.27
Show newest version
package com.javanut.pronghorn.util;

public class TrieParserReaderLocal {

	     private static final ThreadLocal tpr =
	         new ThreadLocal() {
	             @Override protected TrieParserReader initialValue() {
	                boolean alwaysCompletePayloads = true;
					return new TrieParserReader(alwaysCompletePayloads);
	         }
	     };

	     public static TrieParserReader get() {
	         return tpr.get();
	     }	 
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy