Class ResyncController

  • All Implemented Interfaces:
    Serializable

    @Named
    @RequestScoped
    public class ResyncController
    extends Object
    implements Serializable
    CID Bean for the resync service.

    The new syncpoint is managed as a string in the format 2019-12-31T06:00

    Author:
    rsoika
    See Also:
    Serialized Form
    • Constructor Detail

      • ResyncController

        public ResyncController()
    • Method Detail

      • getNewSyncPoint

        public String getNewSyncPoint()
        Returns the newSyncPoint and computes the default value
        Returns:
      • setNewSyncPoint

        public void setNewSyncPoint​(String newSyncPoint)
      • getSyncPoint

        public Date getSyncPoint()
        returns the syncpoint of the current configuration
        Returns:
      • updateSyncPoint

        public void updateSyncPoint()
        This method updates the current synpoint
        Throws:
        ArchiveException
      • isRunning

        public boolean isRunning()
        Returns true if the sync service is actually running
        Returns:
      • cancel

        public void cancel()
        This method cancels a current running sny process
        Throws:
        ArchiveException