Package org.apache.cxf.io
Class CachedConstants
- java.lang.Object
-
- org.apache.cxf.io.CachedConstants
-
public final class CachedConstants extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringCIPHER_TRANSFORMATION_BUS_PROPThe cipher transformation name for encrypting the cached content.static StringCIPHER_TRANSFORMATION_SYS_PROPThe cipher transformation name for encrypting the cached content.static StringCLEANER_CLEAN_ON_SHUTDOWN_BUS_PROPForces cleaning of the unclosedCachedOutputStreaminstances onBusshutdown.static StringCLEANER_DELAY_BUS_PROPThe delay (in ms) for cleaning up unclosedCachedOutputStreaminstances. 30 minutes is specified by default, the minimum value is 2 seconds.static StringMAX_SIZE_BUS_PROPThe data size in bytes to limit the maximum data size to be cached.static StringMAX_SIZE_SYS_PROPThe data size in bytes to limit the maximum data size to be cached.static StringOUTPUT_DIRECTORY_BUS_PROPThe directory name for storing the temporary files.static StringOUTPUT_DIRECTORY_SYS_PROPThe directory name for storing the temporary files.static StringTHRESHOLD_BUS_PROPThe threshold value in bytes to switch from memory to file caching.static StringTHRESHOLD_SYS_PROPThe threshold value in bytes to switch from memory to file caching.
-
-
-
Field Detail
-
OUTPUT_DIRECTORY_SYS_PROP
public static final String OUTPUT_DIRECTORY_SYS_PROP
The directory name for storing the temporary files. None is specified by default.- See Also:
- Constant Field Values
-
OUTPUT_DIRECTORY_BUS_PROP
public static final String OUTPUT_DIRECTORY_BUS_PROP
The directory name for storing the temporary files. None is specified by default.- See Also:
- Constant Field Values
-
THRESHOLD_SYS_PROP
public static final String THRESHOLD_SYS_PROP
The threshold value in bytes to switch from memory to file caching. The default value is 128K for CachedOutputStream and 64K for CachedWriter.- See Also:
- Constant Field Values
-
THRESHOLD_BUS_PROP
public static final String THRESHOLD_BUS_PROP
The threshold value in bytes to switch from memory to file caching. The default value is 128K for CachedOutputStream and 64K for CachedWriter.- See Also:
- Constant Field Values
-
MAX_SIZE_SYS_PROP
public static final String MAX_SIZE_SYS_PROP
The data size in bytes to limit the maximum data size to be cached. No max size is set by default.- See Also:
- Constant Field Values
-
MAX_SIZE_BUS_PROP
public static final String MAX_SIZE_BUS_PROP
The data size in bytes to limit the maximum data size to be cached. No max size is set by default.- See Also:
- Constant Field Values
-
CIPHER_TRANSFORMATION_SYS_PROP
public static final String CIPHER_TRANSFORMATION_SYS_PROP
The cipher transformation name for encrypting the cached content. None is specified by default.- See Also:
- Constant Field Values
-
CIPHER_TRANSFORMATION_BUS_PROP
public static final String CIPHER_TRANSFORMATION_BUS_PROP
The cipher transformation name for encrypting the cached content. None is specified by default.- See Also:
- Constant Field Values
-
CLEANER_DELAY_BUS_PROP
public static final String CLEANER_DELAY_BUS_PROP
The delay (in ms) for cleaning up unclosedCachedOutputStreaminstances. 30 minutes is specified by default, the minimum value is 2 seconds. If the value of the delay is set to 0 (or is negative), the cleaner will be deactivated.- See Also:
- Constant Field Values
-
CLEANER_CLEAN_ON_SHUTDOWN_BUS_PROP
public static final String CLEANER_CLEAN_ON_SHUTDOWN_BUS_PROP
Forces cleaning of the unclosedCachedOutputStreaminstances onBusshutdown. The default value is "true", if the cleaner is deactivated or the value is set to "false", no cleanup attempt on shutdown will be performed.- See Also:
- Constant Field Values
-
-