Phants Client for Redis™*
Public Member Functions | List of all members
RestoreOptions Class Reference

Public Member Functions

void SetReplace (bool replace)
 
void SetAbsoluteTtl (bool absoluteTtl)
 
void SetIdleTime (int seconds)
 
void ClearIdleTime ()
 
void SetFrequency (int frequency)
 
void ClearFrequency ()
 

Detailed Description

Options class used by the Restore() method.

Member Function Documentation

void ClearFrequency ( )
inline

Clears/unsets the FREQ modifier.

The FREQ modifier will be omitted from the command.

void ClearIdleTime ( )
inline

Clears/unsets the IDLETIME modifier.

The IDLETIME modifier will be omitted from the command.

void SetAbsoluteTtl ( bool  absoluteTtl)
inline

Enables or disables the ABSTTL modifier.

Parameters
absoluteTtlA value of true includes the ABSTTL modifier, false omits it.
void SetFrequency ( int  frequency)
inline

Sets the FREQ modifier.

Parameters
frequencyThe value of the FREQ modifier.
void SetIdleTime ( int  seconds)
inline

Sets the IDLETIME modifier.

Parameters
secondsThe value of the IDLETIME modifier, in seconds.
void SetReplace ( bool  replace)
inline

Enables or disables the REPLACE modifier.

Parameters
replaceA value of true includes the REPLACE modifier, false omits it.

The documentation for this class was generated from the following file: