com.ibm.mm.sdk.rm
Class DKRMConfigDefSMS
- java.lang.Object
-
- com.ibm.mm.sdk.rm.dkAbstractRMEntityDef
-
- com.ibm.mm.sdk.rm.DKRMEntityDefSMS
-
- com.ibm.mm.sdk.rm.DKRMConfigDefSMS
-
- All Implemented Interfaces:
- com.ibm.mm.sdk.rm.dkRMEntityDef
public class DKRMConfigDefSMS extends com.ibm.mm.sdk.rm.DKRMEntityDefSMSThis class provides methods to access the information of a System Managed Storage (SMS) configuration object, and to create, retrieve, update, and delete this object on a resource manager datastore.
-
-
Field Summary
-
Fields inherited from class com.ibm.mm.sdk.rm.DKRMEntityDefSMS
SMS_COLLECTION, SMS_CONFIG, SMS_DEVMGR, SMS_MGTCLASS, SMS_SERVER, SMS_STAGINGAREA, SMS_STGCLASS, SMS_STGGROUP, SMS_VOLUME, SMS_VOLUME_AIX, SMS_VOLUME_CLOUD_OBJECT_STORAGE, SMS_VOLUME_LINUX, SMS_VOLUME_LOCAL, SMS_VOLUME_MA, SMS_VOLUME_NT, SMS_VOLUME_SUN, SMS_VOLUME_TSM, SMS_VOLUME_VC
-
-
Constructor Summary
Constructors Constructor and Description DKRMConfigDefSMS()Default constructorDKRMConfigDefSMS(com.ibm.mm.sdk.rm.dkRMStore rmStore)Constructs a new DKRMConfigDefSMS object with a given reference to a resource manager datastore.DKRMConfigDefSMS(java.lang.String name)Constructs a new DKRMConfigDefSMS object with a given name for this object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidadd()Adds this configuration object to a resource manager datastore that is currently connected.voiddel()Deletes this configuration object from a resource manager datastore that is currently connected.voidenableActivation()Makes this configuration object as an activated configuration on a resource manager that is currently connected by this client.intgetClientTimeout()Gets the required maximum amount of time in seconds that a resource manager currently connected by this client should wait for a response from a client application.java.lang.StringgetDescription()Gets the description of this configuration object.intgetLibTimeout()Gets the required maximum amount of time in seconds that a resource manager currently connected by this client should wait for a response from a library server.intgetMigratorBatchSize()Gets the number of files in the batch when a group of files is moved from one storage class to another.DKRMScheduleSMSgetMigratorEverydaySchedule()Gets the schedule for the migrator process to run daily on a resource manager that is currently connected by this client.com.ibm.mm.sdk.rm.DKRMTimeSMSgetMigratorFrequency()Gets the amount of time in hours and minutes that must elapse before the system checks whether to migrate objects from one storage class to another on a resource manager that is currently connected by this client.intgetMigratorFrequencyHours()Gets the amount of time in hours and minutes that must elapse before the system checks whether to migrate objects from one storage class to another on a resource manager that is currently connected by this client.intgetMigratorFrequencyMinutes()Gets the amount of time in hours and minutes that must elapse before the system checks whether to migrate objects from one storage class to another on a resource manager that is currently connected by this client.intgetPurgerBatchSize()Gets the number of files in the batch during the purger process.com.ibm.mm.sdk.rm.DKRMTimeSMSgetPurgerFrequency()Gets the amount of time in hours and minutes that must elapse before the system checks whether to delete objects from the staging area of a resource manager that is currently connected by this client.intgetPurgerFrequencyHours()Gets the amount of time in hours and minutes that must elapse before the system checks whether to delete objects from the staging area of a resource manager that is currently connected by this client.intgetPurgerFrequencyMinutes()Gets the amount of time in hours and minutes that must elapse before the system checks whether to delete objects from the staging area of a resource manager that is currently connected by this client.intgetPurgerTimeout()Gets the required maximum amount of time in seconds that a resource manager currently connected by this client should wait when there is not enough available space in the staging area.DKRMScheduleSMSgetReplicatorEverydaySchedule()Gets the schedule for the replicator process to run daily on a resource manager that is currently connected by this client.com.ibm.mm.sdk.rm.DKRMTimeSMSgetReplicatorFrequency()Gets the amount of time in hours and minutes that must elapse before the system checks whether to start the replication process on a resource manager that is currently connected by this client.intgetReplicatorFrequencyHours()Gets the amount of time in hours and minutes that must elapse before the system checks whether to start the replication process on a resource manager that is currently connected by this client.intgetReplicatorFrequencyMinutes()Gets the amount of time in hours and minutes that must elapse before the system checks whether to start the replication process on a resource manager that is currently connected by this client.com.ibm.mm.sdk.rm.DKRMTimeSMSgetThresholdFrequency()Gets the amount of time in hours and minutes that must elapse before the system checks the capacity of the volumes on a resource manager that is currently connected by this client.intgetThresholdFrequencyHours()Gets the amount of time in hours and minutes that must elapse before the system checks the capacity of the volumes on a resource manager that is currently connected by this client.intgetThresholdFrequencyMinutes()Gets the amount of time in hours and minutes that must elapse before the system checks the capacity of the volumes on a resource manager that is currently connected by this client.booleangetValidatorCleanHistory()Gets the RMVALREPORT history control.java.util.DategetValidatorDateRangeEndDate()Gets the validation end date parameter.java.util.DategetValidatorDateRangeStartDate()Gets the validation start date parameter.DKRMConstantSMS.DATE_RANGE_TYPEgetValidatorDateRangeType()Gets the validation date range type parameter.intgetValidatorDateRangeWindow()Gets the validation date range window parameter.DKRMScheduleSMSgetValidatorEverydaySchedule()Gets the schedule for the validator process to run daily on a resource manager that is currently connected by this client.DKRMConstantSMS.VALIDATION_METADATAgetValidatorMetadata()Obtain current validation Metadata value.booleangetValidatorRunImmediate()Retrieves the state of �run immediate� setting.booleangetValidatorScheduleOneTimeOnly()Retrieves one time validation flag.java.lang.StringgetValidatorVolume()Gets the volume setting for validation utility.booleanisActivationEnabled()Checks whether this configuration object currently as an activated configuration on a resource manager that is currently connected by this client.booleanisMigratorInEverydaySchedule()Checks if the migrator process runs on the daily schedule on a resource manager that is currently connected by this client.booleanisReplicatorInEverydaySchedule()Checks if the replicator process runs on the daily schedule on a resource manager that is currently connected by this client.booleanisValidatorInEverydaySchedule()Checks if the validator process runs on the daily schedule on a resource manager that is currently connected by this client.dkCollectionlistMigratorWeeklySchedule()Gets a weekly schedule for the migrator process to run in different time on each specific day of a week on a resource manager that is currently connected by this client.dkCollectionlistReplicatorWeeklySchedule()Gets a weekly schedule for the replicator process to run in different time on each specific day of a week on a resource manager that is currently connected by this client.dkCollectionlistValidatorWeeklySchedule()Gets a weekly schedule for the validator process to run in different time on each specific day of a week on a resource manager that is currently connected by this client.voidsetClientTimeout(int seconds)Sets the required maximum amount of time in seconds that a resource manager currently connected by this client should wait for a response from a client application.voidsetDescription(java.lang.String description)Sets the description of this configuration object.voidsetLibTimeout(int seconds)Sets the required maximum amount of time in seconds that a resource manager currently connected by this client should wait for a response from a library server.voidsetMigratorBatchSize(int size)Sets the number of files in the batch when a group of files is moved from one storage class to another.voidsetMigratorEverydaySchedule(DKRMScheduleSMS migratorEverydaySchedule)Sets a given schedule for the migrator process to run daily on a resource manager that is currently connected by this client.voidsetMigratorFrequency(com.ibm.mm.sdk.rm.DKRMTimeSMS frequency)Sets the amount of time in hours and minutes that must elapse before the system checks whether to migrate objects from one storage class to another on a resource manager that is currently connected by this client.voidsetMigratorFrequency(int hours, int minutes)Sets the amount of time in hours and minutes that must elapse before the system checks whether to migrate objects from one storage class to another on a resource manager that is currently connected by this client.voidsetMigratorWeeklySchedule(dkCollection migratorWeeklySchedule)Sets a weekly schedule for the migrator process to run in different time on each specific day of a week on a resource manager that is currently connected by this client.voidsetPurgerBatchSize(int size)Sets the number of files in the batch during the purger process.voidsetPurgerFrequency(com.ibm.mm.sdk.rm.DKRMTimeSMS frequency)Sets the amount of time in hours and minutes that must elapse before the system checks whether to delete objects from the staging area of a resource manager that is currently connected by this client.voidsetPurgerFrequency(int hours, int minutes)Sets the amount of time in hours and minutes that must elapse before the system checks whether to delete objects from the staging area of a resource manager that is currently connected by this client.voidsetPurgerTimeout(int seconds)Sets the required maximum amount of time in seconds that a resource manager currently connected by this client should wait when there is not enough available space in the staging area.voidsetReplicatorEverydaySchedule(DKRMScheduleSMS replicatorEverydaySchedule)Sets a given schedule for the replicator process to run daily on a resource manager that is currently connected by this client.voidsetReplicatorFrequency(com.ibm.mm.sdk.rm.DKRMTimeSMS frequency)Sets the amount of time in hours and minutes that must elapse before the system checks whether to start the replication process on a resource manager that is currently connected by this client.voidsetReplicatorFrequency(int hours, int minutes)Sets the amount of time in hours and minutes that must elapse before the system checks whether to start the replication process on a resource manager that is currently connected by this client.voidsetReplicatorWeeklySchedule(dkCollection replicatorWeeklySchedule)Sets a weekly schedule for the replicator process to run in different time on each specific day of a week on a resource manager that is currently connected by this client.voidsetThresholdFrequency(com.ibm.mm.sdk.rm.DKRMTimeSMS frequency)Sets the amount of time in hours and minutes that must elapse before the system checks the capacity of the volumes on a resource manager that is currently connected by this client.voidsetThresholdFrequency(int hours, int minutes)Sets the amount of time in hours and minutes that must elapse before the system checks the capacity of the volumes on a resource manager that is currently connected by this client.voidsetValidatorCleanHistory(boolean valCleanHistory)Sets the RMVALREPORT history control.voidsetValidatorDateRangeEndDate(java.util.Date valEndDate)Sets the end date or validation date range.voidsetValidatorDateRangeStartDate(java.util.Date valStartDate)Sets the start date or validation date range.voidsetValidatorDateRangeType(DKRMConstantSMS.DATE_RANGE_TYPE valDateRangeType)Sets the Date range type value.voidsetValidatorDateRangeWindow(int valPastDays)Sets the number of day of data for validation utility.voidsetValidatorEverydaySchedule(DKRMScheduleSMS validatorEverydaySchedule)Sets a given schedule for the validator process to run daily on a resource manager that is currently connected by this client.voidsetValidatorMetadata(DKRMConstantSMS.VALIDATION_METADATA valMetadata)Sets the Metadata value for validation utility.voidsetValidatorRunImmediate(boolean valImmediate)Informs Reasource Manager to run validation as soon as service is started.voidsetValidatorScheduleOneTimeOnly(boolean valScheduleOnce)Informs Reasource Manager to run Validation schedule for only one time, using first available scheduled time.voidsetValidatorVolumeID(java.lang.String valVolume)Sets the Volume for validation utility.voidsetValidatorWeeklySchedule(dkCollection validatorWeeklySchedule)Sets a weekly schedule for the validator utility to run in different time on each specific day of a week on a resource manager that is currently connected by this client.voidupdate()Updates this configuration object to a resource manager datastore that is currently connected.
-
-
-
Constructor Detail
-
DKRMConfigDefSMS
public DKRMConfigDefSMS() throws DKException, java.lang.ExceptionDefault constructor- Throws:
DKException- if an error occursjava.lang.Exception
-
DKRMConfigDefSMS
public DKRMConfigDefSMS(com.ibm.mm.sdk.rm.dkRMStore rmStore) throws DKException, java.lang.ExceptionConstructs a new DKRMConfigDefSMS object with a given reference to a resource manager datastore.- Parameters:
rmStore- a dkRMStore object referred to a resource manager datastore- Throws:
DKException- if an error occursjava.lang.Exception- See Also:
dkRMStore
-
DKRMConfigDefSMS
public DKRMConfigDefSMS(java.lang.String name) throws DKException, java.lang.ExceptionConstructs a new DKRMConfigDefSMS object with a given name for this object.- Parameters:
name- a given name for this new object- Throws:
DKException- if an error occursjava.lang.Exception
-
-
Method Detail
-
setValidatorMetadata
public void setValidatorMetadata(DKRMConstantSMS.VALIDATION_METADATA valMetadata)
Sets the Metadata value for validation utility.- Parameters:
valMetadata- Valid metadata value:- VALIDATION_METADATA.VAL_METADATA_ID_RMOBJECTS - validate object metadata
- VALIDATION_METADATA.VAL_METADATA_ID_RMMIGRATIONTASKS - validate migration tasks
- VALIDATION_METADATA.VAL_METADATA_ID_ALL - validate all metadata (RMOBJECTS and RMMIGRATIONTASK)
- VALIDATION_METADATA.VAL_METADATA_ID_NONE - perform No metadata validation
-
getValidatorMetadata
public DKRMConstantSMS.VALIDATION_METADATA getValidatorMetadata()
Obtain current validation Metadata value.- Returns:
- valMetadata Valid metadata value:
- VALIDATION_METADATA.VAL_METADATA_ID_RMOBJECTS - validate object metadata
- VALIDATION_METADATA.VAL_METADATA_ID_RMMIGRATIONTASKS - validate migration tasks
- VALIDATION_METADATA.VAL_METADATA_ID_ALL - validate all metadata (RMOBJECTS and RMMIGRATIONTASK)
- VALIDATION_METADATA.VAL_METADATA_ID_NONE - perform No metadata validation
-
setValidatorVolumeID
public void setValidatorVolumeID(java.lang.String valVolume)
Sets the Volume for validation utility.- Parameters:
volume- Valid volume name or one of the following options:- DKRMConstantSMS.VAL_VOLUMEID_ALL - validate all storage volumes
- DKRMConstantSMS.VAL_VOLUMEID_NONE - perform No storage validation
-
getValidatorVolume
public java.lang.String getValidatorVolume()
Gets the volume setting for validation utility.- Returns:
- A String value, which is volume name or one of the following values:
- DKRMConstantSMS.VAL_VOLUMEID_ALL - validate all storage volumes
- DKRMConstantSMS.VAL_VOLUMEID_NONE - perform No storage validation
-
setValidatorCleanHistory
public void setValidatorCleanHistory(boolean valCleanHistory)
Sets the RMVALREPORT history control. This option can control is RMVALREPORT table is cleaned at start of validation utility.- Parameters:
bCleanHistory- true indicates RMVALREPORT table is cleared at start of validation. false indicates that validation report records will be added to RMVALREPORT table.
-
getValidatorCleanHistory
public boolean getValidatorCleanHistory()
Gets the RMVALREPORT history control.- Returns:
- A boolean indicating if history is clear or kept intact.
-
setValidatorDateRangeType
public void setValidatorDateRangeType(DKRMConstantSMS.DATE_RANGE_TYPE valDateRangeType)
Sets the Date range type value. This option can controls which additional data range parameters are used, and how they are applied to validation operation.- Parameters:
dateRangeType- parameter values are:- DATE_RANGE_TYPE.VAL_DATE_RANGE_TYPE_WINDOWED_RANGE - use moving sized windows for validation date limits.
- DATE_RANGE_TYPE.VAL_DATE_RANGE_TYPE_CUSTOM_RANGE - use specified data range for validation date limits
-
getValidatorDateRangeType
public DKRMConstantSMS.DATE_RANGE_TYPE getValidatorDateRangeType()
Gets the validation date range type parameter.- Returns:
- dateRangeType values are:
- DATE_RANGE_TYPE.VAL_DATE_RANGE_TYPE_WINDOWED_RANGE - use moving sized windows for validation date limits.
- DATE_RANGE_TYPE.VAL_DATE_RANGE_TYPE_CUSTOM_RANGE - use specified data range for validation date limits
-
setValidatorDateRangeWindow
public void setValidatorDateRangeWindow(int valPastDays)
Sets the number of day of data for validation utility. This parameter is ignored unless date range type of DKRMConstantSMS.VAL_DATE_RANGE_TYPE_WINDOWED_RANGE is specified.- Parameters:
valpastDays- The number of previous days to validate.
-
getValidatorDateRangeWindow
public int getValidatorDateRangeWindow()
Gets the validation date range window parameter.- Returns:
- A int value, which is the number of previous days on which validation is run. This value is only meaningful if Validator Date Range Type is set to DKRMConstantSMS.VAL_DATE_RANGE_TYPE_WINDOWED_RANGE.
-
setValidatorDateRangeStartDate
public void setValidatorDateRangeStartDate(java.util.Date valStartDate)
Sets the start date or validation date range. This parameter is ignored unless date range type of DKRMConstantSMS.VAL_DATE_RANGE_TYPE_CUSTOM_RANGE is specified. The date will not be validated for accuracy or correctness.- Parameters:
valStartDate- - starting date for validation
-
getValidatorDateRangeStartDate
public java.util.Date getValidatorDateRangeStartDate()
Gets the validation start date parameter.- Returns:
- Date, the starting date for validation limits
-
setValidatorDateRangeEndDate
public void setValidatorDateRangeEndDate(java.util.Date valEndDate)
Sets the end date or validation date range. This parameter is ignored unless date range type of DKRMConstantSMS.VAL_DATE_RANGE_TYPE_CUSTOM_RANGE is specified. The date will not be validated for accuracy or correctness.- Parameters:
valEndDate- Ending date for validation range
-
getValidatorDateRangeEndDate
public java.util.Date getValidatorDateRangeEndDate()
Gets the validation end date parameter.- Returns:
- Date, The ending date for validation limits
-
setValidatorRunImmediate
public void setValidatorRunImmediate(boolean valImmediate)
Informs Reasource Manager to run validation as soon as service is started. Resource Manager server will interpret this value to run without changing persisted schedules. Using this value implies �RUN ONE TIME ONLY (even if setValidatorScheduleOneTimeOnly sets false). See setValidatorScheduleOneTimeOnly method for additional details. When this option is enabled, any prior schedule will be canceled upon completion of immediate operation and must be restarted to resume prior schedule.- Parameters:
valImmediate- true indicates to run validation immediate on starting service.
-
getValidatorRunImmediate
public boolean getValidatorRunImmediate()
Retrieves the state of �run immediate� setting.- Returns:
- boolean, true indicates that validation is run whenever validation service is started.
-
setValidatorWeeklySchedule
public void setValidatorWeeklySchedule(dkCollection validatorWeeklySchedule) throws DKException, java.lang.Exception
Sets a weekly schedule for the validator utility to run in different time on each specific day of a week on a resource manager that is currently connected by this client.- Parameters:
validatorWeeklySchedule- a dkCollection object containing the DKRMScheduleSMS objects that have different time on each specific day of a week for the validator utility to run- Throws:
DKExceptionjava.lang.Exception- See Also:
DKRMScheduleSMS,dkCollection
-
listValidatorWeeklySchedule
public dkCollection listValidatorWeeklySchedule() throws DKException, java.lang.Exception
Gets a weekly schedule for the validator process to run in different time on each specific day of a week on a resource manager that is currently connected by this client.- Returns:
- a dkCollection object containing the DKRMScheduleSMS objects that have different time on each specific day of a week for the validation utility to run. If the daily schedule is active, then this collection will contain only default values, as the values are not used when a daily schedule is active.
- Throws:
DKExceptionjava.lang.Exception- See Also:
DKRMScheduleSMS,dkCollection
-
setValidatorEverydaySchedule
public void setValidatorEverydaySchedule(DKRMScheduleSMS validatorEverydaySchedule) throws DKException, java.lang.Exception
Sets a given schedule for the validator process to run daily on a resource manager that is currently connected by this client.- Parameters:
validatorEverydaySchedule- a DKRMScheduleSMS object contains a schedule that the validator process runs daily- Throws:
DKExceptionjava.lang.Exception- See Also:
DKRMScheduleSMS
-
getValidatorEverydaySchedule
public DKRMScheduleSMS getValidatorEverydaySchedule()
Gets the schedule for the validator process to run daily on a resource manager that is currently connected by this client.- Returns:
- a DKRMScheduleSMS object contains a schedule that the validation utility runs daily This schedule is only valid if the daily schedule is active, if a weekly schedule is active, then this method will return a schedule with only default values.
- See Also:
DKRMScheduleSMS
-
setValidatorScheduleOneTimeOnly
public void setValidatorScheduleOneTimeOnly(boolean valScheduleOnce)
Informs Reasource Manager to run Validation schedule for only one time, using first available scheduled time.- Parameters:
valScheduleOnce- A flag to indicate if validation is run repetitively or one time only.
-
getValidatorScheduleOneTimeOnly
public boolean getValidatorScheduleOneTimeOnly()
Retrieves one time validation flag. When true (run one time only), Validation is run once each time Validation schedule is started.- Returns:
- boolean, a flag to indicate if validation is run repetitively or one time only. True indicates validation is to run one time only.
-
enableActivation
public void enableActivation()
Makes this configuration object as an activated configuration on a resource manager that is currently connected by this client.No action taken if this object is currently activated on the resource manager.
-
isActivationEnabled
public boolean isActivationEnabled()
Checks whether this configuration object currently as an activated configuration on a resource manager that is currently connected by this client.- Returns:
trueif the configuration represented by this object currently activated on the resource manager;falseotherwise.
-
setDescription
public void setDescription(java.lang.String description)
Sets the description of this configuration object.- Parameters:
description- the description of this configuration object
-
getDescription
public java.lang.String getDescription()
Gets the description of this configuration object.- Returns:
- the description of this configuration object
-
setLibTimeout
public void setLibTimeout(int seconds)
Sets the required maximum amount of time in seconds that a resource manager currently connected by this client should wait for a response from a library server.- Parameters:
seconds- the maximum amount of time in seconds for the resource manager to wait for a response from a library server
-
getLibTimeout
public int getLibTimeout()
Gets the required maximum amount of time in seconds that a resource manager currently connected by this client should wait for a response from a library server.- Returns:
- the maximum amount of time in seconds for the resource manager to wait for a response from a library server
-
setClientTimeout
public void setClientTimeout(int seconds)
Sets the required maximum amount of time in seconds that a resource manager currently connected by this client should wait for a response from a client application.- Parameters:
seconds- the maximum amount of time in seconds for the resource manager to wait for a response from a client application
-
getClientTimeout
public int getClientTimeout()
Gets the required maximum amount of time in seconds that a resource manager currently connected by this client should wait for a response from a client application.- Returns:
- the maximum amount of time in seconds for the resource manager to wait for a response from a client application
-
setPurgerTimeout
public void setPurgerTimeout(int seconds)
Sets the required maximum amount of time in seconds that a resource manager currently connected by this client should wait when there is not enough available space in the staging area.- Parameters:
seconds- the maximum amount of time in seconds for the resource manager to wait when there is not enough available space in the staging area.
-
getPurgerTimeout
public int getPurgerTimeout()
Gets the required maximum amount of time in seconds that a resource manager currently connected by this client should wait when there is not enough available space in the staging area.- Returns:
- the maximum amount of time in seconds for the resource manager to wait when there is not enough available space in the staging area.
-
setPurgerFrequency
public void setPurgerFrequency(com.ibm.mm.sdk.rm.DKRMTimeSMS frequency)
Sets the amount of time in hours and minutes that must elapse before the system checks whether to delete objects from the staging area of a resource manager that is currently connected by this client.- Parameters:
frequency- a DKRMTimeSMS object containing the amount of time as a frequency to check whether to delete objects from the staging area of the resource manager- See Also:
DKRMTimeSMS
-
setPurgerFrequency
public void setPurgerFrequency(int hours, int minutes) throws DKException, java.lang.ExceptionSets the amount of time in hours and minutes that must elapse before the system checks whether to delete objects from the staging area of a resource manager that is currently connected by this client.- Parameters:
hours- the amount of time in hours for the hour part of the frequencyminutes- the amount of time in minutes for the minute part of the frequency- Throws:
DKExceptionjava.lang.Exception
-
getPurgerFrequency
public com.ibm.mm.sdk.rm.DKRMTimeSMS getPurgerFrequency()
Gets the amount of time in hours and minutes that must elapse before the system checks whether to delete objects from the staging area of a resource manager that is currently connected by this client.- Returns:
- a DKRMTimeSMS object containing the amount of time as a frequency to check whether to delete objects from the staging area of the resource manager
- See Also:
DKRMTimeSMS
-
getPurgerFrequencyHours
public int getPurgerFrequencyHours()
Gets the amount of time in hours and minutes that must elapse before the system checks whether to delete objects from the staging area of a resource manager that is currently connected by this client.- Returns:
- the amount of time in hours from the hour part of the frequency
-
getPurgerFrequencyMinutes
public int getPurgerFrequencyMinutes()
Gets the amount of time in hours and minutes that must elapse before the system checks whether to delete objects from the staging area of a resource manager that is currently connected by this client.- Returns:
- the amount of time in minutes from the minute part of the frequency
-
setMigratorFrequency
public void setMigratorFrequency(com.ibm.mm.sdk.rm.DKRMTimeSMS frequency)
Sets the amount of time in hours and minutes that must elapse before the system checks whether to migrate objects from one storage class to another on a resource manager that is currently connected by this client.- Parameters:
frequency- a DKRMTimeSMS object containing the amount of time as a frequency to check whether to migrate objects from one storage class to another on the resource manager- See Also:
DKRMTimeSMS
-
setMigratorFrequency
public void setMigratorFrequency(int hours, int minutes) throws DKException, java.lang.ExceptionSets the amount of time in hours and minutes that must elapse before the system checks whether to migrate objects from one storage class to another on a resource manager that is currently connected by this client.- Parameters:
hours- the amount of time in hours for the hour part of the frequencyminutes- the amount of time in minutes for the minute part of the frequency- Throws:
DKExceptionjava.lang.Exception
-
getMigratorFrequency
public com.ibm.mm.sdk.rm.DKRMTimeSMS getMigratorFrequency()
Gets the amount of time in hours and minutes that must elapse before the system checks whether to migrate objects from one storage class to another on a resource manager that is currently connected by this client.- Returns:
- a DKRMTimeSMS object containing the amount of time as a frequency to check whether to migrate objects from one storage class to another on the resource manager
- See Also:
DKRMTimeSMS
-
getMigratorFrequencyHours
public int getMigratorFrequencyHours()
Gets the amount of time in hours and minutes that must elapse before the system checks whether to migrate objects from one storage class to another on a resource manager that is currently connected by this client.- Returns:
- the amount of time in hours from the hour part of the frequency
-
getMigratorFrequencyMinutes
public int getMigratorFrequencyMinutes()
Gets the amount of time in hours and minutes that must elapse before the system checks whether to migrate objects from one storage class to another on a resource manager that is currently connected by this client.- Returns:
- the amount of time in minutes from the minute part of the frequency
-
setThresholdFrequency
public void setThresholdFrequency(com.ibm.mm.sdk.rm.DKRMTimeSMS frequency)
Sets the amount of time in hours and minutes that must elapse before the system checks the capacity of the volumes on a resource manager that is currently connected by this client.- Parameters:
frequency- a DKRMTimeSMS object containing the amount of time as a frequency to check the capacity of the volumes on the resource manager- See Also:
DKRMTimeSMS
-
setThresholdFrequency
public void setThresholdFrequency(int hours, int minutes) throws DKException, java.lang.ExceptionSets the amount of time in hours and minutes that must elapse before the system checks the capacity of the volumes on a resource manager that is currently connected by this client.- Parameters:
hours- the amount of time in hours for the hour part of the frequencyminutes- the amount of time in minutes for the minute part of the frequency- Throws:
DKExceptionjava.lang.Exception
-
getThresholdFrequency
public com.ibm.mm.sdk.rm.DKRMTimeSMS getThresholdFrequency()
Gets the amount of time in hours and minutes that must elapse before the system checks the capacity of the volumes on a resource manager that is currently connected by this client.- Returns:
- a DKRMTimeSMS object containing the amount of time as a frequency to check the capacity of the volumes on the resource manager
- See Also:
DKRMTimeSMS
-
getThresholdFrequencyHours
public int getThresholdFrequencyHours()
Gets the amount of time in hours and minutes that must elapse before the system checks the capacity of the volumes on a resource manager that is currently connected by this client.- Returns:
- the amount of time in hours from the hour part of the frequency
-
getThresholdFrequencyMinutes
public int getThresholdFrequencyMinutes()
Gets the amount of time in hours and minutes that must elapse before the system checks the capacity of the volumes on a resource manager that is currently connected by this client.- Returns:
- the amount of time in minutes from the minute part of the frequency
-
setReplicatorFrequency
public void setReplicatorFrequency(com.ibm.mm.sdk.rm.DKRMTimeSMS frequency)
Sets the amount of time in hours and minutes that must elapse before the system checks whether to start the replication process on a resource manager that is currently connected by this client.- Parameters:
frequency- a DKRMTimeSMS object containing the amount of time as a frequency to check whether to start the replication process on the resource manager- See Also:
DKRMTimeSMS
-
setReplicatorFrequency
public void setReplicatorFrequency(int hours, int minutes) throws DKException, java.lang.ExceptionSets the amount of time in hours and minutes that must elapse before the system checks whether to start the replication process on a resource manager that is currently connected by this client.- Parameters:
hours- the amount of time in hours for the hour part of the frequencyminutes- the amount of time in minutes for the minute part of the frequency- Throws:
DKExceptionjava.lang.Exception
-
getReplicatorFrequency
public com.ibm.mm.sdk.rm.DKRMTimeSMS getReplicatorFrequency()
Gets the amount of time in hours and minutes that must elapse before the system checks whether to start the replication process on a resource manager that is currently connected by this client.- Returns:
- a DKRMTimeSMS object containing the amount of time as a frequency to check whether to start the replication process on the resource manager
- See Also:
DKRMTimeSMS
-
getReplicatorFrequencyHours
public int getReplicatorFrequencyHours()
Gets the amount of time in hours and minutes that must elapse before the system checks whether to start the replication process on a resource manager that is currently connected by this client.- Returns:
- the amount of time in hours from the hour part of the frequency
-
getReplicatorFrequencyMinutes
public int getReplicatorFrequencyMinutes()
Gets the amount of time in hours and minutes that must elapse before the system checks whether to start the replication process on a resource manager that is currently connected by this client.- Returns:
- the amount of time in minutes from the minute part of the frequency
-
setPurgerBatchSize
public void setPurgerBatchSize(int size)
Sets the number of files in the batch during the purger process.- Parameters:
size- the number of files in the batch for the purger process
-
getPurgerBatchSize
public int getPurgerBatchSize()
Gets the number of files in the batch during the purger process.- Returns:
- the number of files in the batch for the purger process
-
setMigratorBatchSize
public void setMigratorBatchSize(int size)
Sets the number of files in the batch when a group of files is moved from one storage class to another.- Parameters:
size- the number of files in the batch for the migrator process
-
getMigratorBatchSize
public int getMigratorBatchSize()
Gets the number of files in the batch when a group of files is moved from one storage class to another.- Returns:
- the number of files in the batch for the migrator process
-
isMigratorInEverydaySchedule
public boolean isMigratorInEverydaySchedule()
Checks if the migrator process runs on the daily schedule on a resource manager that is currently connected by this client.- Returns:
trueif the migrator process runs daily;falseotherwise.
-
isReplicatorInEverydaySchedule
public boolean isReplicatorInEverydaySchedule()
Checks if the replicator process runs on the daily schedule on a resource manager that is currently connected by this client.- Returns:
trueif the replicator process runs daily;falseotherwise.
-
isValidatorInEverydaySchedule
public boolean isValidatorInEverydaySchedule()
Checks if the validator process runs on the daily schedule on a resource manager that is currently connected by this client.- Returns:
trueif the migrator process runs daily;falseotherwise.
-
setMigratorEverydaySchedule
public void setMigratorEverydaySchedule(DKRMScheduleSMS migratorEverydaySchedule) throws DKException, java.lang.Exception
Sets a given schedule for the migrator process to run daily on a resource manager that is currently connected by this client.- Parameters:
migratorEverydaySchedule- a DKRMScheduleSMS object contains a schedule that the migrator process runs daily- Throws:
DKExceptionjava.lang.Exception- See Also:
DKRMScheduleSMS
-
getMigratorEverydaySchedule
public DKRMScheduleSMS getMigratorEverydaySchedule()
Gets the schedule for the migrator process to run daily on a resource manager that is currently connected by this client.- Returns:
- a DKRMScheduleSMS object contains a schedule that the migrator process runs daily This schedule is only valid if the daily schedule is active, if a weekly schedule is active, then this method will return a schedule with only default values.
- See Also:
DKRMScheduleSMS
-
setMigratorWeeklySchedule
public void setMigratorWeeklySchedule(dkCollection migratorWeeklySchedule) throws DKException, java.lang.Exception
Sets a weekly schedule for the migrator process to run in different time on each specific day of a week on a resource manager that is currently connected by this client.- Parameters:
migratorWeeklySchedule- a dkCollection object containing the DKRMScheduleSMS objects that have different time on each specific day of a week for the migrator process to run- Throws:
DKExceptionjava.lang.Exception- See Also:
DKRMScheduleSMS,dkCollection
-
listMigratorWeeklySchedule
public dkCollection listMigratorWeeklySchedule() throws DKException, java.lang.Exception
Gets a weekly schedule for the migrator process to run in different time on each specific day of a week on a resource manager that is currently connected by this client.- Returns:
- a dkCollection object containing the DKRMScheduleSMS objects that have different time on each specific day of a week for the migrator process to run If the daily schedule is active, then this collection will contain only default values, as the values are not used when a daily schedule is active.
- Throws:
DKExceptionjava.lang.Exception- See Also:
DKRMScheduleSMS,dkCollection
-
setReplicatorEverydaySchedule
public void setReplicatorEverydaySchedule(DKRMScheduleSMS replicatorEverydaySchedule) throws DKException, java.lang.Exception
Sets a given schedule for the replicator process to run daily on a resource manager that is currently connected by this client.- Parameters:
replicatorEverydaySchedule- a DKRMScheduleSMS object contains a schedule that the replicator process runs daily- Throws:
DKExceptionjava.lang.Exception- See Also:
DKRMScheduleSMS
-
getReplicatorEverydaySchedule
public DKRMScheduleSMS getReplicatorEverydaySchedule()
Gets the schedule for the replicator process to run daily on a resource manager that is currently connected by this client.- Returns:
- a DKRMScheduleSMS object contains a schedule that the replicator process runs daily This schedule is only valid if the daily schedule is active, if a weekly schedule is active, then this method will return a schedule with only default values.
- See Also:
DKRMScheduleSMS
-
setReplicatorWeeklySchedule
public void setReplicatorWeeklySchedule(dkCollection replicatorWeeklySchedule) throws DKException, java.lang.Exception
Sets a weekly schedule for the replicator process to run in different time on each specific day of a week on a resource manager that is currently connected by this client.- Parameters:
replicatorWeeklySchedule- a dkCollection object containing the DKRMScheduleSMS objects that have different time on each specific day of a week for the replicator process to run- Throws:
DKExceptionjava.lang.Exception- See Also:
DKRMScheduleSMS,dkCollection
-
listReplicatorWeeklySchedule
public dkCollection listReplicatorWeeklySchedule() throws DKException, java.lang.Exception
Gets a weekly schedule for the replicator process to run in different time on each specific day of a week on a resource manager that is currently connected by this client.- Returns:
- a dkCollection object containing the DKRMScheduleSMS objects that have different time on each specific day of a week for the replicator process to run If the daily schedule is active, then this collection will contain only default values, as the values are not used when a daily schedule is active.
- Throws:
DKExceptionjava.lang.Exception- See Also:
DKRMScheduleSMS,dkCollection
-
add
public void add() throws DKException, java.lang.ExceptionAdds this configuration object to a resource manager datastore that is currently connected.- Specified by:
addin interfacecom.ibm.mm.sdk.rm.dkRMEntityDef- Overrides:
addin classcom.ibm.mm.sdk.rm.DKRMEntityDefSMS- Throws:
DKException- if an error occursjava.lang.Exception
-
update
public void update() throws DKException, java.lang.ExceptionUpdates this configuration object to a resource manager datastore that is currently connected.- Specified by:
updatein interfacecom.ibm.mm.sdk.rm.dkRMEntityDef- Overrides:
updatein classcom.ibm.mm.sdk.rm.DKRMEntityDefSMS- Throws:
DKException- if an error occursjava.lang.Exception
-
del
public void del() throws DKException, java.lang.ExceptionDeletes this configuration object from a resource manager datastore that is currently connected.- Specified by:
delin interfacecom.ibm.mm.sdk.rm.dkRMEntityDef- Overrides:
delin classcom.ibm.mm.sdk.rm.DKRMEntityDefSMS- Throws:
DKException- if an error occursjava.lang.Exception
-
-