Class StandardProperties
java.lang.Object
io.clonecloudstore.common.standard.properties.StandardProperties
- Direct Known Subclasses:
QuarkusProperties
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Property to define Buffer Sizestatic final String
Internal Machine Id used by JvmProcessMacIds for MacAddress (null or empty meaning using default value)static final String
Property to define Max waiting time in milliseconds before Time Out within packets (in particular unknown size)static final int
Compatible with 64KB, 96 KB and 128 KB buffer sizes (Default 384 KB) -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
static int
static String
static long
static com.fasterxml.jackson.databind.ObjectMapper
static io.vertx.core.Vertx
getVertx()
static void
setBufSize
(int bufSize) static void
setCdiObjectMapper
(com.fasterxml.jackson.databind.ObjectMapper objectMapper) To set up from CDI as Quarkusstatic void
setCdiVertx
(io.vertx.core.Vertx vertx) To set up from CDI as Quarkusstatic void
setMaxWaitMs
(long maxWaitMs)
-
Field Details
-
DEFAULT_PIPED_BUFFER_SIZE
public static final int DEFAULT_PIPED_BUFFER_SIZECompatible with 64KB, 96 KB and 128 KB buffer sizes (Default 384 KB)- See Also:
-
CCS_MACHINE_ID
Internal Machine Id used by JvmProcessMacIds for MacAddress (null or empty meaning using default value)- See Also:
-
CCS_BUFFER_SIZE
Property to define Buffer Size- See Also:
-
CCS_MAX_WAIT_MS
Property to define Max waiting time in milliseconds before Time Out within packets (in particular unknown size)- See Also:
-
-
Constructor Details
-
StandardProperties
protected StandardProperties()
-
-
Method Details
-
getCcsMachineId
- Returns:
- the MachineId if specified as ccs.machineId using 6 bytes in Hexadecimal format
-
getBufSize
public static int getBufSize()- Returns:
- the maximum Buffer Size (default 128 KB)
-
setBufSize
public static void setBufSize(int bufSize) -
getMaxWaitMs
public static long getMaxWaitMs()- Returns:
- Max Wait in milliseconds before TimeOut occurs within transmission (end of unknown size) (Default 1000 ms)
-
setMaxWaitMs
public static void setMaxWaitMs(long maxWaitMs) -
getVertx
public static io.vertx.core.Vertx getVertx()- Returns:
- the global Vertx core
-
setCdiVertx
public static void setCdiVertx(io.vertx.core.Vertx vertx) To set up from CDI as Quarkus -
getObjectMapper
public static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()- Returns:
- the global ObjectMapper
-
setCdiObjectMapper
public static void setCdiObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) To set up from CDI as Quarkus -
confugrationToString
-