org.gcube.contentmanagement.layerindependent.servicehelper
Class StorageManagementProperties

java.lang.Object
  extended by org.gcube.contentmanagement.layerindependent.servicehelper.PropertiesManager
      extended by org.gcube.contentmanagement.layerindependent.servicehelper.StorageManagementProperties

public class StorageManagementProperties
extends PropertiesManager


Field Summary
static java.lang.String ABSOLUTE_PATH_PLACEHOLDER_FOR_ETC_SMS
          String that will get replaced in configuration properties with the actual absulute path to $GLOBUS_LOCATION$/etc/StorageManagementService...
static java.lang.String DEFAULT_BUFFER_SIZE_PROPERTY_NAME
          Defines the name of the property to set the default buffer size that should be used
static java.lang.String DEFAULT_RAW_FILE_CONTENT_MANAGER_PROPERTY_NAME
          Defines the name of the property to set the RawFileContentManager that should be used by default.
static java.lang.String DEFAULT_RELATIONSHIP_AND_PROPERTY_MANAGER_PROPERTY_NAME
          Defines of name of the property to set the RelationshipAndPropertyManager that should be used by default
static java.lang.String DEFAULT_SMALL_SIZE_PROPERTY_NAME
          Defines the name of the property to set the default small file size threshold that should be used
static java.lang.String MANAGER_PROPERTY_NAME
           
static java.lang.String MANAGERS_NUMBER_PROPERTY_NAME
           
static java.lang.String PERFORM_ADDITIONAL_CHECKS_PROPERTY_NAME
          Parameter in configuration file to turn additional checks on or off (boolean value).
static java.lang.String PROTOCOL_HANDLER_PROPERTY_NAME
           
static java.lang.String PROTOCOL_HANDLERS_NUMBER_PROPERTY_NAME
          Defines the prefix of all properties that set the protocol handler chain
 
Constructor Summary
StorageManagementProperties()
           
 
Method Summary
 java.lang.String getConfigFilename()
           
static StorageManagementProperties getInstance()
           
 void setDefaults()
           
 
Methods inherited from class org.gcube.contentmanagement.layerindependent.servicehelper.PropertiesManager
getArrayProperty, getBooleanProperty, getIntegerProperty, getProperty, getPropertyDefault, loadFromDir, setPropertyDefault
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PERFORM_ADDITIONAL_CHECKS_PROPERTY_NAME

public static final java.lang.String PERFORM_ADDITIONAL_CHECKS_PROPERTY_NAME
Parameter in configuration file to turn additional checks on or off (boolean value).

See Also:
Constant Field Values

DEFAULT_RAW_FILE_CONTENT_MANAGER_PROPERTY_NAME

public static final java.lang.String DEFAULT_RAW_FILE_CONTENT_MANAGER_PROPERTY_NAME
Defines the name of the property to set the RawFileContentManager that should be used by default.

See Also:
org.gcube.contentmanagement.baselayer.RawFileContentManager, Constant Field Values

DEFAULT_RELATIONSHIP_AND_PROPERTY_MANAGER_PROPERTY_NAME

public static final java.lang.String DEFAULT_RELATIONSHIP_AND_PROPERTY_MANAGER_PROPERTY_NAME
Defines of name of the property to set the RelationshipAndPropertyManager that should be used by default

See Also:
org.gcube.contentmanagement.baselayer.RelationshipAndPropertyManager, Constant Field Values

DEFAULT_BUFFER_SIZE_PROPERTY_NAME

public static final java.lang.String DEFAULT_BUFFER_SIZE_PROPERTY_NAME
Defines the name of the property to set the default buffer size that should be used

See Also:
org.gcube.contentmanagement.baselayer.BaseLayerStream#getDefaultBufferSize(), Constant Field Values

DEFAULT_SMALL_SIZE_PROPERTY_NAME

public static final java.lang.String DEFAULT_SMALL_SIZE_PROPERTY_NAME
Defines the name of the property to set the default small file size threshold that should be used

See Also:
Constant Field Values

PROTOCOL_HANDLERS_NUMBER_PROPERTY_NAME

public static final java.lang.String PROTOCOL_HANDLERS_NUMBER_PROPERTY_NAME
Defines the prefix of all properties that set the protocol handler chain

See Also:
Constant Field Values

PROTOCOL_HANDLER_PROPERTY_NAME

public static final java.lang.String PROTOCOL_HANDLER_PROPERTY_NAME
See Also:
Constant Field Values

MANAGERS_NUMBER_PROPERTY_NAME

public static final java.lang.String MANAGERS_NUMBER_PROPERTY_NAME
See Also:
Constant Field Values

MANAGER_PROPERTY_NAME

public static final java.lang.String MANAGER_PROPERTY_NAME
See Also:
Constant Field Values

ABSOLUTE_PATH_PLACEHOLDER_FOR_ETC_SMS

public static final java.lang.String ABSOLUTE_PATH_PLACEHOLDER_FOR_ETC_SMS
String that will get replaced in configuration properties with the actual absulute path to $GLOBUS_LOCATION$/etc/StorageManagementService...

See Also:
Constant Field Values
Constructor Detail

StorageManagementProperties

public StorageManagementProperties()
Method Detail

getConfigFilename

public java.lang.String getConfigFilename()
Specified by:
getConfigFilename in class PropertiesManager

getInstance

public static StorageManagementProperties getInstance()

setDefaults

public void setDefaults()