Enum Configuration.Flags

    • Enum Constant Detail

      • CHECK_SESSION

        public static final Configuration.Flags CHECK_SESSION
        Indicates whether to check session (dataset access rights, etc) or not.
      • CHECK_NAMESPACE

        public static final Configuration.Flags CHECK_NAMESPACE
        Indicates whether to check namespace owner or not.
      • EXPIRATION_DATE_IF_NOCHECK_SESSION

        public static final Configuration.Flags EXPIRATION_DATE_IF_NOCHECK_SESSION
        Expiration date for sessions when CHECK_SESSION=FALSE.
      • REGISTER_DATACLAY_CLASSES

        public static final Configuration.Flags REGISTER_DATACLAY_CLASSES
        Indicates if DataClay Classes must be registered or not.
      • NOTIFICATION_MANAGER_ACTIVE

        public static final Configuration.Flags NOTIFICATION_MANAGER_ACTIVE
        Indicates notification manager is active or not.
      • MEMORY_GC_ENABLED

        public static final Configuration.Flags MEMORY_GC_ENABLED
        Indicates whether to enable memory gc or not.
      • GLOBAL_GC_ENABLED

        public static final Configuration.Flags GLOBAL_GC_ENABLED
        Indicates whether to enable global gc or not.
      • CHECK_READ_ONLY

        public static final Configuration.Flags CHECK_READ_ONLY
        Indicates whether to check if object is read-only to accept replication or not.
      • STATE_FILE_PATH

        public static final Configuration.Flags STATE_FILE_PATH
        State file for healthcheck.
      • PREFETCHING_ENABLED

        public static final Configuration.Flags PREFETCHING_ENABLED
        Indicates if prefetching is enabled.
      • PREFETCHING_PARALLEL_ENABLED

        public static final Configuration.Flags PREFETCHING_PARALLEL_ENABLED
        Indicates if parallel prefetching should be used
      • PREFETCHING_ROP_ENABLED

        public static final Configuration.Flags PREFETCHING_ROP_ENABLED
        Indicates if ROP prefetching should be used
      • PREFETCHING_ROP_DEPTH

        public static final Configuration.Flags PREFETCHING_ROP_DEPTH
        Indicates fetch depth of ROP prefetching (ignored if ROP is disabled)
      • MAX_MESSAGE_SIZE

        public static final Configuration.Flags MAX_MESSAGE_SIZE
        GRPC default is 4 MiB, dataClay default is unlimited while we do not have a message chunking mechanism
      • SSL_CLIENT_TRUSTED_CERTIFICATES

        public static final Configuration.Flags SSL_CLIENT_TRUSTED_CERTIFICATES
        Path to Trusted certificates for verifying the remote endpoint's certificate.
      • SSL_CLIENT_CERTIFICATE

        public static final Configuration.Flags SSL_CLIENT_CERTIFICATE
        Path to identifying certificate for this host.
      • SSL_CLIENT_KEY

        public static final Configuration.Flags SSL_CLIENT_KEY
        Path to identifying certificate for this host.
      • SSL_TARGET_LM_ALIAS

        public static final Configuration.Flags SSL_TARGET_LM_ALIAS
        Custom header of service alias for calls to Logic module. Used in Traefik.
      • SSL_TARGET_DS_ALIAS

        public static final Configuration.Flags SSL_TARGET_DS_ALIAS
        Custom header of service alias for calls to DS. Used in Traefik.
      • SSL_TARGET_AUTHORITY

        public static final Configuration.Flags SSL_TARGET_AUTHORITY
        Override authority hostname in SSL calls.
      • GRPC_USE_FORK_JOIN_POOL

        public static final Configuration.Flags GRPC_USE_FORK_JOIN_POOL
        Indicates if netty servers and clients should use fork join pool instead of pool executor.
      • GRPC_USER_EPOLL_THREAD_POOL

        public static final Configuration.Flags GRPC_USER_EPOLL_THREAD_POOL
        Indicates to use EPoll thread poll if possible.
      • GRPC_BOSS_NUM_THREADS

        public static final Configuration.Flags GRPC_BOSS_NUM_THREADS
        Indicates numer of threads in boss and worker loop groups in Netty.
      • GRPC_THREADPOOL_PARALLELISM

        public static final Configuration.Flags GRPC_THREADPOOL_PARALLELISM
        GRPC threadpool parallelism level.
      • GRPC_DEADLINE_MILLIS

        public static final Configuration.Flags GRPC_DEADLINE_MILLIS
        Deadline for grpc calls.
      • SQLITE_IN_MEMORY

        public static final Configuration.Flags SQLITE_IN_MEMORY
        Indicates SQLite should be executed in memory.
      • METADATA_CACHE_ENTRY_EXPIRATION_MILLIS

        public static final Configuration.Flags METADATA_CACHE_ENTRY_EXPIRATION_MILLIS
      • METADATA_CLEAN_PERIOD_MILLIS

        public static final Configuration.Flags METADATA_CLEAN_PERIOD_MILLIS
      • DB_HANDLER_TYPE_FOR_DATASERVICES

        public static final Configuration.Flags DB_HANDLER_TYPE_FOR_DATASERVICES
        Default value for DbHandler type for LOCAL data services.
      • DB_HANDLER_TYPE_FOR_LOGICMODULE

        public static final Configuration.Flags DB_HANDLER_TYPE_FOR_LOGICMODULE
        Default value for DbHandler type for LOCAL logic module.
      • READONLY_BY_DEFAULT

        public static final Configuration.Flags READONLY_BY_DEFAULT
        Default read-write.
      • MAX_RETRY_DATABASE_CONN

        public static final Configuration.Flags MAX_RETRY_DATABASE_CONN
        Maximum retries to connect to the database.
      • RETRY_DATABASE_CONN_TIME

        public static final Configuration.Flags RETRY_DATABASE_CONN_TIME
        Millis to wait to retry connection to the database.
      • STORAGEITF_IGNORE_REPLICATION

        public static final Configuration.Flags STORAGEITF_IGNORE_REPLICATION
        Indicates if we ignore replication from StorageItf. In this case, hint will be the only location of an object.
      • MULTIDIM_ARRAY_STREAM_SERIALIZATION

        public static final Configuration.Flags MULTIDIM_ARRAY_STREAM_SERIALIZATION
        Experimental use of NIO streaming for array serialization.
      • LRU_LOAD_FACTOR

        public static final Configuration.Flags LRU_LOAD_FACTOR
        Defines the default load factor of the LRU caches.
      • LRU_BYDATE_TIMEUNIT

        public static final Configuration.Flags LRU_BYDATE_TIMEUNIT
        Defines the timeunit used for the LRU cache that uses expiration dates.
      • LRU_BYDATE_TIMEUNIT_VALUE

        public static final Configuration.Flags LRU_BYDATE_TIMEUNIT_VALUE
        Defines the value for the timeunit.
      • MAX_ENTRIES_DATASERVICE_CACHE

        public static final Configuration.Flags MAX_ENTRIES_DATASERVICE_CACHE
        Default value for Maximum entries in Data Service cache.
      • MAX_ENTRIES_CLIENT_CACHE

        public static final Configuration.Flags MAX_ENTRIES_CLIENT_CACHE
        Default value for Maximum entries in Client cache.
      • MAX_ENTRIES_METADATASERVICE_CACHE

        public static final Configuration.Flags MAX_ENTRIES_METADATASERVICE_CACHE
        Default value for Maximum entries in MetaDataService cache.
      • MAX_ENTRIES_CLASS_MANAGER_CACHE

        public static final Configuration.Flags MAX_ENTRIES_CLASS_MANAGER_CACHE
        Default value for Maximum entries in ClassManager cache.
      • MAX_ENTRIES_ACCOUNT_MANAGER_CACHE

        public static final Configuration.Flags MAX_ENTRIES_ACCOUNT_MANAGER_CACHE
        Default value for Maximum entries in AccountManager cache.
      • MAX_ENTRIES_NAMESPACE_MANAGER_CACHE

        public static final Configuration.Flags MAX_ENTRIES_NAMESPACE_MANAGER_CACHE
        Default value for Maximum entries in NamespaceManager cache.
      • MAX_ENTRIES_CONTRACT_MANAGER_CACHE

        public static final Configuration.Flags MAX_ENTRIES_CONTRACT_MANAGER_CACHE
        Default value for Maximum entries in ContractManager cache.
      • MAX_ENTRIES_DATASET_MANAGER_CACHE

        public static final Configuration.Flags MAX_ENTRIES_DATASET_MANAGER_CACHE
        Default value for Maximum entries in DataSetManager cache.
      • MAX_ENTRIES_DATACONTRACT_MANAGER_CACHE

        public static final Configuration.Flags MAX_ENTRIES_DATACONTRACT_MANAGER_CACHE
        Default value for Maximum entries in DataContractManager cache.
      • MAX_ENTRIES_INTERFACE_MANAGER_CACHE

        public static final Configuration.Flags MAX_ENTRIES_INTERFACE_MANAGER_CACHE
        Default value for Maximum entries in InterfaceManager cache.
      • MAX_ENTRIES_SESSION_MANAGER_CACHE

        public static final Configuration.Flags MAX_ENTRIES_SESSION_MANAGER_CACHE
        Default value for Maximum entries in SessionManager cache.
      • MAX_ENTRIES_NOTIFICATION_MANAGER_MSG_QUEUE

        public static final Configuration.Flags MAX_ENTRIES_NOTIFICATION_MANAGER_MSG_QUEUE
        Default value for Maximum entries in NotificationManager Event queue.
      • MAX_ENTRIES_NOTIFICATION_MANAGER_SESSION_CACHE

        public static final Configuration.Flags MAX_ENTRIES_NOTIFICATION_MANAGER_SESSION_CACHE
        Default value for Maximum entries in NotificationManager session cache.
      • MAX_TIME_OLD_EVENT_MSGS

        public static final Configuration.Flags MAX_TIME_OLD_EVENT_MSGS
        Default value for time that should pass to consider a message to be old. In millis.
      • NOTIFICATION_MANAGER_INTERVAL

        public static final Configuration.Flags NOTIFICATION_MANAGER_INTERVAL
        Defines the period to check event message queue at Notification Manager.
      • MAX_RETRY_AUTOREGISTER

        public static final Configuration.Flags MAX_RETRY_AUTOREGISTER
        Maximum autoregistration retries of a node.
      • RETRY_AUTOREGISTER_TIME

        public static final Configuration.Flags RETRY_AUTOREGISTER_TIME
        Millis to wait to retry autoregistration of a node.
      • MAX_RETRIES_LOGICMODULE

        public static final Configuration.Flags MAX_RETRIES_LOGICMODULE
        Default value for number of retries in connection to LogicModule. NOTE: Clients can wait at init waitForBackends
      • SLEEP_RETRIES_LOGICMODULE

        public static final Configuration.Flags SLEEP_RETRIES_LOGICMODULE
        Default value for sleeping before retrying in LM in millis.
      • MAX_EXECUTION_RETRIES

        public static final Configuration.Flags MAX_EXECUTION_RETRIES
        Default value for number of retries IN EXECUTION
      • TIMEOUT_WAIT_REGISTERED

        public static final Configuration.Flags TIMEOUT_WAIT_REGISTERED
        Number of millis of time to wait for object to be registered. Default: NO WAIT
      • SLEEP_WAIT_REGISTERED

        public static final Configuration.Flags SLEEP_WAIT_REGISTERED
        Waiting milliseconds to check if object to be registered.
      • SLEEP_WAIT_SHUTDOWN

        public static final Configuration.Flags SLEEP_WAIT_SHUTDOWN
        Waiting milliseconds to check if backends where shutted down.
      • MEMMGMT_MIN_OBJECT_TIME

        public static final Configuration.Flags MEMMGMT_MIN_OBJECT_TIME
        Minimum life time for an object to be flushed.
      • MEMMGMT_PRESSURE_FRACTION

        public static final Configuration.Flags MEMMGMT_PRESSURE_FRACTION
        Fraction of memory to consider it is under pressure.
      • MEMMGMT_CHECK_TIME_INTERVAL

        public static final Configuration.Flags MEMMGMT_CHECK_TIME_INTERVAL
        Interval to check if objects may be flushed (depending on memory pressure).
      • MEMMGMT_WAIT_TO_SHUTDOWN

        public static final Configuration.Flags MEMMGMT_WAIT_TO_SHUTDOWN
        Waiting millis to other MEMMGT threads to finish during shutdown process.
      • GLOBALGC_COLLECT_TIME_INTERVAL

        public static final Configuration.Flags GLOBALGC_COLLECT_TIME_INTERVAL
        Interval to check and collect objects in disk. (IN MILLIS)
      • GLOBALGC_CHECK_REMOTE_PENDING

        public static final Configuration.Flags GLOBALGC_CHECK_REMOTE_PENDING
        Interval to check and send remote reference countings. (IN MILLIS)
      • GLOBALGC_PROCESS_COUNTINGS_INTERVAL

        public static final Configuration.Flags GLOBALGC_PROCESS_COUNTINGS_INTERVAL
        Interval to process pending reference counters. The idea is not to use same collection interval to avoid retaining too much memory: one thing is the map of counters (which is not released till collection or sending references to other nodes) and other thing is the pending reference countings to process (which are maps of oid -> num refs per each object). (IN MILLIS)
      • GLOBALGC_MAX_TIME_QUARANTINE

        public static final Configuration.Flags GLOBALGC_MAX_TIME_QUARANTINE
        Maximum time an object can be in quarantine. WARNING: this time must ensure no race condition of wrong 0 references happen.
      • GLOBALGC_WAIT_TO_SHUTDOWN

        public static final Configuration.Flags GLOBALGC_WAIT_TO_SHUTDOWN
        Waiting millis to other GC threads to finish during shutdown process.
      • GLOBALGC_MAX_OBJECTS_TO_COLLECT_ITERATION

        public static final Configuration.Flags GLOBALGC_MAX_OBJECTS_TO_COLLECT_ITERATION
        Maximum number of objects to collect during an iteration, this allow us to avoid infinite cleaning thread.
      • GLOBALGC_COLLECTOR_INITIAL_DELAY_HOURS

        public static final Configuration.Flags GLOBALGC_COLLECTOR_INITIAL_DELAY_HOURS
        Initial delay for collector thread to start working in hours
      • PREFETCHING_TASKS_INTERVAL

        public static final Configuration.Flags PREFETCHING_TASKS_INTERVAL
        Interval to check if tasks must be run.
      • ASPECTLIBPATH

        public static final Configuration.Flags ASPECTLIBPATH
        Defines the file where aspectlib is located.
      • ASPECTS_PATH

        public static final Configuration.Flags ASPECTS_PATH
        Default value for path in which aspects are stored.
      • STORAGE_METADATA_PATH

        public static final Configuration.Flags STORAGE_METADATA_PATH
        location of IDs.
      • DATACLAY_INSTALLED_CLASSES_SRC_PATH

        public static final Configuration.Flags DATACLAY_INSTALLED_CLASSES_SRC_PATH
        Default path in which classes to install are stored.
      • DATACLAY_INSTALLED_CLASSES_BIN_PATH

        public static final Configuration.Flags DATACLAY_INSTALLED_CLASSES_BIN_PATH
        Default path in which classes to install are compiled.
      • EXECUTION_CLASSES_PATH

        public static final Configuration.Flags EXECUTION_CLASSES_PATH
        Default value for path in which execution classes are stored.
      • INCLUDE_THIS_PROJECT

        public static final Configuration.Flags INCLUDE_THIS_PROJECT
        Defines the file where dependencies is located.
      • JAVACLAY_EXTRAE_WRAPPER_LIB

        public static final Configuration.Flags JAVACLAY_EXTRAE_WRAPPER_LIB
        Indicates path to extrae wrapper library.
      • FINISH_EXTRAE_TRACING

        public static final Configuration.Flags FINISH_EXTRAE_TRACING
        Indicates if finish extrae must be called.
      • PRINT_ASPECTS_INFO

        public static final Configuration.Flags PRINT_ASPECTS_INFO
        Whether AspectJ info should be printed.
      • PRETTY_PRINT_MESSAGES

        public static final Configuration.Flags PRETTY_PRINT_MESSAGES
        Print bytes message.
      • ADD_DEBUG_INFO_ON_METHODS

        public static final Configuration.Flags ADD_DEBUG_INFO_ON_METHODS
        Add debug information on methods.
    • Method Detail

      • values

        public static Configuration.Flags[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Configuration.Flags c : Configuration.Flags.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Configuration.Flags valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • reloadGlobalConfiguration

        public static void reloadGlobalConfiguration​(String globalConfig)
        Reload global properties
        Parameters:
        globalConfig - Global properties file path
      • initializeGlobalProperties

        public static void initializeGlobalProperties​(File globalFile)
        Read global properties file
        Parameters:
        globalFile - global properties file
      • getValue

        public Object getValue()
        Get the Configurations::value
        Returns:
        the value
      • getDate

        public Date getDate()
        Get Date value of the Configurations::value
        Returns:
        the value
      • getShortValue

        public short getShortValue()
        Get int value of the Configurations::value
        Returns:
        the value
      • getIntValue

        public int getIntValue()
        Get int value of the Configurations::value
        Returns:
        the value
      • getLongValue

        public long getLongValue()
        Get long value of the Configurations::value
        Returns:
        the value
      • getBooleanValue

        public boolean getBooleanValue()
        Get boolean value of the Configurations::value
        Returns:
        the value
      • getStringValue

        public String getStringValue()
        Get String value of the Configurations::value
        Returns:
        the value
      • getFloatValue

        public float getFloatValue()
        Get Float value of the Configurations::value
        Returns:
        the value
      • setValue

        public void setValue​(Object newvalue)
        Set the Configurations::value (USED FOR TESTING PURPOSES)
        Parameters:
        newvalue - the value