BackupSettings

Inheritance: java.lang.Object

public class BackupSettings

Class contains options for backup operation

Constructors

ConstructorDescription
BackupSettings()Initializes a new instance of the BackupSettings class
BackupSettings(int options)Initializes a new instance of the BackupSettings class
BackupSettings(boolean executeRecursively, boolean restoreConnection, int numberOfAttempts, int timeoutBetweenAttempts)Initializes a new instance of the BackupSettings class

Methods

MethodDescription
equals(Object arg0)
getClass()
getDefault()Gets BackupSettings class with settings by default
getExecuteRecursively()Gets or sets value which defines if backup should be executed recursively
getNumberOfAttemptsToRrepeat()Gets or sets value which defines number of attempts to repeat failed operation In case of some IMAP command inside backup operation returns failed result, IMAP client tries to repeat this operation again according to defined quantity of times.
getRestoreConnection()Gets or sets value which defines if connection has to be restored in case if server closes connection forcibly This option has to be used together with NumberOfAttemptsToRrepeat option.
getTimeoutBetweenAttempts()Gets or sets value which defines timeout (in milliseconds) between attemptions to execute operation again This option has to be used together with NumberOfAttemptsToRrepeat option.
hashCode()
notify()
notifyAll()
setExecuteRecursively(boolean value)Gets or sets value which defines if backup should be executed recursively
setNumberOfAttemptsToRrepeat(int value)Gets or sets value which defines number of attempts to repeat failed operation In case of some IMAP command inside backup operation returns failed result, IMAP client tries to repeat this operation again according to defined quantity of times.
setRestoreConnection(boolean value)Gets or sets value which defines if connection has to be restored in case if server closes connection forcibly This option has to be used together with NumberOfAttemptsToRrepeat option.
setTimeoutBetweenAttempts(int value)Gets or sets value which defines timeout (in milliseconds) between attemptions to execute operation again This option has to be used together with NumberOfAttemptsToRrepeat option.
toString()
to_BackupSettings(int options)Converts enumerable options to class
wait()
wait(long arg0)
wait(long arg0, int arg1)

BackupSettings()

public BackupSettings()

Initializes a new instance of the BackupSettings class

BackupSettings(int options)

public BackupSettings(int options)

Initializes a new instance of the BackupSettings class

Parameters:

ParameterTypeDescription
optionsintenumerates backup options

BackupSettings(boolean executeRecursively, boolean restoreConnection, int numberOfAttempts, int timeoutBetweenAttempts)

public BackupSettings(boolean executeRecursively, boolean restoreConnection, int numberOfAttempts, int timeoutBetweenAttempts)

Initializes a new instance of the BackupSettings class

Parameters:

ParameterTypeDescription
executeRecursivelybooleandefines if backup should be executed recursively
restoreConnectionbooleandefines if connection has to be restored in case if server closes connection forcibly
numberOfAttemptsintdefines number of attempts to repeat failed operation
timeoutBetweenAttemptsintdefines timeout (in milliseconds) between attemptions to execute operation again

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getDefault()

public static BackupSettings getDefault()

Gets BackupSettings class with settings by default

Returns: BackupSettings

getExecuteRecursively()

public final boolean getExecuteRecursively()

Gets or sets value which defines if backup should be executed recursively

Returns: boolean

getNumberOfAttemptsToRrepeat()

public final int getNumberOfAttemptsToRrepeat()

Gets or sets value which defines number of attempts to repeat failed operation In case of some IMAP command inside backup operation returns failed result, IMAP client tries to repeat this operation again according to defined quantity of times. For instance if FETCH operation returns error AE_1_1_0243 FETCH 219 (BODY) AE_1_1_0243 NO[UNAVAILABLE] FETCH Service is temporarily not available Client tries to execute it again.

Returns: int

getRestoreConnection()

public final boolean getRestoreConnection()

Gets or sets value which defines if connection has to be restored in case if server closes connection forcibly This option has to be used together with NumberOfAttemptsToRrepeat option.

Returns: boolean

getTimeoutBetweenAttempts()

public final int getTimeoutBetweenAttempts()

Gets or sets value which defines timeout (in milliseconds) between attemptions to execute operation again This option has to be used together with NumberOfAttemptsToRrepeat option.

Returns: int

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setExecuteRecursively(boolean value)

public final void setExecuteRecursively(boolean value)

Gets or sets value which defines if backup should be executed recursively

Parameters:

ParameterTypeDescription
valueboolean

setNumberOfAttemptsToRrepeat(int value)

public final void setNumberOfAttemptsToRrepeat(int value)

Gets or sets value which defines number of attempts to repeat failed operation In case of some IMAP command inside backup operation returns failed result, IMAP client tries to repeat this operation again according to defined quantity of times. For instance if FETCH operation returns error AE_1_1_0243 FETCH 219 (BODY) AE_1_1_0243 NO[UNAVAILABLE] FETCH Service is temporarily not available Client tries to execute it again.

Parameters:

ParameterTypeDescription
valueint

setRestoreConnection(boolean value)

public final void setRestoreConnection(boolean value)

Gets or sets value which defines if connection has to be restored in case if server closes connection forcibly This option has to be used together with NumberOfAttemptsToRrepeat option.

Parameters:

ParameterTypeDescription
valueboolean

setTimeoutBetweenAttempts(int value)

public final void setTimeoutBetweenAttempts(int value)

Gets or sets value which defines timeout (in milliseconds) between attemptions to execute operation again This option has to be used together with NumberOfAttemptsToRrepeat option.

Parameters:

ParameterTypeDescription
valueint

toString()

public String toString()

Returns: java.lang.String

to_BackupSettings(int options)

public static BackupSettings to_BackupSettings(int options)

Converts enumerable options to class

Parameters:

ParameterTypeDescription
optionsintOptions to convert

Returns: BackupSettings

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int