Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## backupAndRecovery
Class RoundRobin

    java.lang.Object
      backupAndRecovery.RoundRobin

All Implemented Interfaces:
  IRotationScheme

    public class RoundRobin

extends java.lang.Object
implements IRotationScheme

Simple implementation of Round Robin rotation scheme.

Constructor Summary
`RoundRobin()`

Method Summary
`void` | `rotate(BackupMetaContainer meta)` This method implements Round Robin aproach to backup media rotation.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### RoundRobin

    public RoundRobin()

Method Detail

### rotate

    public void rotate(BackupMetaContainer meta)

  This method implements Round Robin aproach to backup media rotation. Existing backups are sorted by time of their creation. Oldest backups are deleted, only number of the newest backups configured are left. Backups are choosen by their filename, i.e files of same filename are considered related. No other parameters, like name of user, who created backup are considered.

  Specified by:
    `rotate` in interface `IRotationScheme`
  Parameters:
    `meta` - information about any backup in set of backups to be rotated

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD