|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The backup strategy specifies the number of media available for backup and
the strategy for those media. Two popular methods are the
Tower of Hanoi and Grandfather-father-son.
| Method Summary | |
int |
getMaxNumberOfMedia()
Provides the number of media that are used for the backup. |
int |
getMediumNumber(boolean next)
Obtains media/disk/folder number to be used for the backup according to this strategy. |
int |
getMediumNumber(java.util.Date epochDate,
java.util.Date referenceDate)
Obtains a medium number at the provided reference date given an "epoch" date i.e. |
long |
getPeriodicity()
The medium for the backup will be switched after the current period has expired. |
| Method Detail |
public int getMaxNumberOfMedia()
public int getMediumNumber(boolean next)
next - true if a new medium must be selected,
false otherwise.
public int getMediumNumber(java.util.Date epochDate,
java.util.Date referenceDate)
epochDate - referenceDate -
public long getPeriodicity()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||