mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
parent
9724485777
commit
39a83d01af
1 changed files with 3 additions and 1 deletions
|
@ -1,10 +1,12 @@
|
|||
package org.logstash;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
public final class PathCache {
|
||||
|
||||
private static final ConcurrentHashMap<String, FieldReference> cache = new ConcurrentHashMap<>();
|
||||
private static final Map<String, FieldReference> cache =
|
||||
new ConcurrentHashMap<>(64, 0.2F, 1);
|
||||
|
||||
private static final FieldReference timestamp = cache(Event.TIMESTAMP);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue