
Static Public Member Functions | |
| static Properties | getProperties (ClassLoader loader) |
Static Public Attributes | |
| static final String | CONFIGURATION_PROPERTY = "synchrobuffer.config" |
| static final String | CONFIGURATION_PROPERTY_FILE = "synchrobuffer-config.properties" |
| static final String | CONFIGURATION_FILE = "synchrobuffer.properties" |
| static final String | MIN_WINDOW_SIZE_PROPERTY = "synchrobuffer.minwindowsize" |
| static final String | MAX_WINDOW_SIZE_PROPERTY = "synchrobuffer.maxwindowsize" |
| static final String | WINDOW_GROWTH_FACTOR_PROPERTY = "synchrobuffer.windowgrowthfactor" |
| static final String | DUPLICATE_POLICY_PROPERTY = "synchrobuffer.duplicatepolicy" |
Static Private Member Functions | |
| static void | setProperties () |
| static InputStream | getInputStream (ClassLoader loader, String resource) throws IOException |
Static Private Attributes | |
| static Properties | sbProperties = null |
| static final String | DEFAULT_MIN_WINDOW_SIZE = "500" |
| static final String | DEFAULT_MAX_WINDOW_SIZE = "5000" |
| static final String | DEFAULT_WINDOW_GROWTH_FACTOR = "100" |
| static final String | DEFAULT_DUPLICATE_POLICY = String.valueOf(SynchroBuffer.DUPLICATE_OK) |
Service class. Provides property definitions and initialization facility.
| static InputStream cern::laser::util::buffer::SynchroBufferConfig::getInputStream | ( | ClassLoader | loader, | |
| String | resource | |||
| ) | throws IOException [inline, static, private] |
Open the resource as Input Stream.
Referenced by getProperties().
| static Properties cern::laser::util::buffer::SynchroBufferConfig::getProperties | ( | ClassLoader | loader | ) | [inline, static] |
Returns properties loaded from the SynchroBuffer configuration file.
| loader | the class loader |
References CONFIGURATION_FILE, CONFIGURATION_PROPERTY, CONFIGURATION_PROPERTY_FILE, getInputStream(), sbProperties, and setProperties().
| static void cern::laser::util::buffer::SynchroBufferConfig::setProperties | ( | ) | [inline, static, private] |
Set the right values for the properties.
References DEFAULT_DUPLICATE_POLICY, DEFAULT_MAX_WINDOW_SIZE, DEFAULT_MIN_WINDOW_SIZE, DEFAULT_WINDOW_GROWTH_FACTOR, DUPLICATE_POLICY_PROPERTY, MAX_WINDOW_SIZE_PROPERTY, MIN_WINDOW_SIZE_PROPERTY, sbProperties, and WINDOW_GROWTH_FACTOR_PROPERTY.
Referenced by getProperties().
final String cern::laser::util::buffer::SynchroBufferConfig::CONFIGURATION_FILE = "synchrobuffer.properties" [static] |
Field CONFIGURATION_FILE
Referenced by getProperties().
final String cern::laser::util::buffer::SynchroBufferConfig::CONFIGURATION_PROPERTY = "synchrobuffer.config" [static] |
Field CONFIG_FILE_LOCATION_PROPERTY
Referenced by getProperties().
final String cern::laser::util::buffer::SynchroBufferConfig::CONFIGURATION_PROPERTY_FILE = "synchrobuffer-config.properties" [static] |
Field CONFIGURATION_PROPERTY_FILE
Referenced by getProperties().
final String cern::laser::util::buffer::SynchroBufferConfig::DEFAULT_DUPLICATE_POLICY = String.valueOf(SynchroBuffer.DUPLICATE_OK) [static, private] |
Referenced by setProperties().
final String cern::laser::util::buffer::SynchroBufferConfig::DEFAULT_MAX_WINDOW_SIZE = "5000" [static, private] |
Referenced by setProperties().
final String cern::laser::util::buffer::SynchroBufferConfig::DEFAULT_MIN_WINDOW_SIZE = "500" [static, private] |
Referenced by setProperties().
final String cern::laser::util::buffer::SynchroBufferConfig::DEFAULT_WINDOW_GROWTH_FACTOR = "100" [static, private] |
Referenced by setProperties().
final String cern::laser::util::buffer::SynchroBufferConfig::DUPLICATE_POLICY_PROPERTY = "synchrobuffer.duplicatepolicy" [static] |
Field DUPLCATE_POLICY_PROPERTY
Referenced by setProperties().
final String cern::laser::util::buffer::SynchroBufferConfig::MAX_WINDOW_SIZE_PROPERTY = "synchrobuffer.maxwindowsize" [static] |
Field MAX_WINDOW_SIZE_PROPERTY
Referenced by setProperties().
final String cern::laser::util::buffer::SynchroBufferConfig::MIN_WINDOW_SIZE_PROPERTY = "synchrobuffer.minwindowsize" [static] |
Field MIN_WINDOW_SIZE_PROPERTY
Referenced by setProperties().
Properties cern::laser::util::buffer::SynchroBufferConfig::sbProperties = null [static, private] |
Referenced by getProperties(), and setProperties().
final String cern::laser::util::buffer::SynchroBufferConfig::WINDOW_GROWTH_FACTOR_PROPERTY = "synchrobuffer.windowgrowthfactor" [static] |
Field WINDOW_GROWTH_FACTOR_PROPERTY
Referenced by setProperties().
1.6.2