Class KeyStoreRefresher

    • Constructor Detail

      • KeyStoreRefresher

        public KeyStoreRefresher​(long runPeriod)
        Constructor.
        Parameters:
        runPeriod - The period for the clean up to run.
    • Method Detail

      • addElement

        public boolean addElement​(Object obj)
        Description copied from interface: TaskRunnable
        Adds an element to this TaskRunnable.
        Parameters:
        obj - Element to be added to this TaskRunnable
        Returns:
        a boolean to indicate whether the add success
      • removeElement

        public boolean removeElement​(Object obj)
        Description copied from interface: TaskRunnable
        Removes an element from this TaskRunnable.
        Parameters:
        obj - Element to be removed from this TaskRunnable
        Returns:
        A boolean to indicate whether the remove success
      • isEmpty

        public boolean isEmpty()
        Description copied from interface: TaskRunnable
        Indicates whether this TaskRunnable is empty.
        Returns:
        A boolean to indicate whether this TaskRunnable is empty
      • getRunPeriod

        public long getRunPeriod()
        Description copied from interface: TaskRunnable
        Returns the run period of this TaskRunnable.
        Returns:
        A long value to indicate the run period
      • run

        public void run()