public final class PatternCacheFIFO2 extends GenericPatternCache
GenericPatternCache
DEFAULT_CAPACITY
Constructor and Description |
---|
PatternCacheFIFO2()
Same as:
|
PatternCacheFIFO2(int capacity)
Same as:
|
PatternCacheFIFO2(int capacity,
PatternCompiler compiler)
Creates a PatternCacheFIFO2 instance with a given cache capacity,
initialized to use a given PatternCompiler instance as a pattern compiler.
|
PatternCacheFIFO2(PatternCompiler compiler)
Same as:
|
addPattern, addPattern, capacity, getPattern, getPattern, size
public PatternCacheFIFO2(int capacity, PatternCompiler compiler)
capacity
- The capacity of the cache.compiler
- The PatternCompiler to use to compile patterns.public PatternCacheFIFO2(PatternCompiler compiler)
PatternCacheFIFO2(GenericPatternCache.DEFAULT_CAPACITY, compiler);
public PatternCacheFIFO2(int capacity)
PatternCacheFIFO2(capacity, new Perl5Compiler());
public PatternCacheFIFO2()
PatternCacheFIFO2(GenericPatternCache.DEFAULT_CAPACITY);
Copyright ? 2000-2003 Apache Software Foundation. All Rights Reserved.