public class GlobalDatasDb extends GlobalDatasParser
Modifier and Type | Field and Description |
---|---|
static boolean |
BLOCKING
Shall new entries insertion in the ElasticSearch index be in blocking mode
|
static int |
DEFAULT_LIMIT_SCROLL
default limit scroll size
|
static int |
DEFAULT_SCROLL_TIMEOUT
default limit scroll timeout
|
static String |
INDEXNAME
Default Index name for ElasticSearch
|
static int |
LIMIT_ES_NEW_INDEX
limit before flushing ES with Bulk
|
static int |
LIMIT_MDB_NEW_INDEX
limit before flushing MongoDB with Bulk
|
static long |
limitES
limit before using ES in 1 level only (set to -1 means use ES at all time)
|
static String |
localNetworkAddress
Default local address to be used by the client (null means no specific address)
|
static int |
MAXLRU
Default LRU Size
|
static boolean |
PRINT_REQUEST
In Debug mode : shall we print the request
|
static boolean |
SAVERESULT
Shall we save ResultCache
|
static String |
SCROLL_ACTIVATE_KEYWORD
KEYWORD to activate scroll
|
static int |
TTL
Default TTL in s : 1H
|
static int |
TTLMS
Default TTL in ms : 1H
|
static boolean |
USE_FILTER
Should we use filter to select from graph parents, or within request (filtering seems better)
|
static boolean |
USE_FILTERED_REQUEST
Shall we use FilteredRequest or postFilter for queries
|
static boolean |
USE_NEW_NODE
Default behavior of ElasticSearch connection (False tends to minimize the number of concurrent connections)
|
static boolean |
USELRUCACHE
Shall we use SynchronizedLruCache for cache of results
|
static boolean |
USEREDIS
Shall we use Redis for cache of results
|
DEFAULT_LIMIT_REQUEST, limitRequest, NB_ACTIONS
COMMAND_DOLLAR, LIMIT_LOAD, MAXDEPTH, NB_FILTERS, NB_PROJECTIONS, NB_ROOTS
Constructor and Description |
---|
GlobalDatasDb() |
getArray, getJsonNodedepth, getValue, sanityRequestCheck
getDate, getLimitParameter, getLimitValue, getValueJsonNode, sanityCheck, sanityParameterCheck, sanityParametersCheck, sanityValueCheck, sanityValueCheck, sanityVariableNameCheck, setArrayValueFromList, setLimitParameter, setLimitValue
public static final boolean USE_FILTER
public static final boolean USE_FILTERED_REQUEST
public static final boolean USE_NEW_NODE
public static final String INDEXNAME
public static String localNetworkAddress
public static long limitES
public static final int LIMIT_ES_NEW_INDEX
public static final int LIMIT_MDB_NEW_INDEX
public static final boolean PRINT_REQUEST
public static final boolean BLOCKING
public static final boolean SAVERESULT
public static final boolean USELRUCACHE
public static final int TTLMS
public static final int TTL
public static final int MAXLRU
public static final boolean USEREDIS
public static final String SCROLL_ACTIVATE_KEYWORD
public static final int DEFAULT_LIMIT_SCROLL
public static final int DEFAULT_SCROLL_TIMEOUT
Copyright © 2018 Vitam. All rights reserved.