Package com.sun.identity.saml.xmlsig
Class KeyStoreRefresher
- java.lang.Object
-
- com.sun.identity.common.GeneralTaskRunnable
-
- com.sun.identity.saml.xmlsig.KeyStoreRefresher
-
- All Implemented Interfaces:
TaskRunnable,Runnable
public class KeyStoreRefresher extends GeneralTaskRunnable
This class is used to update the key store freqently.
-
-
Field Summary
-
Fields inherited from class com.sun.identity.common.GeneralTaskRunnable
headTask, nextTask, previousTask
-
-
Constructor Summary
Constructors Constructor Description KeyStoreRefresher(long runPeriod)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddElement(Object obj)Adds an element to this TaskRunnable.longgetRunPeriod()Returns the run period of this TaskRunnable.booleanisEmpty()Indicates whether this TaskRunnable is empty.booleanremoveElement(Object obj)Removes an element from this TaskRunnable.voidrun()-
Methods inherited from class com.sun.identity.common.GeneralTaskRunnable
cancel, getHeadTask, isScheduled, next, previous, scheduledExecutionTime, setHeadTask, setNext, setPrevious
-
-
-
-
Method Detail
-
addElement
public boolean addElement(Object obj)
Description copied from interface:TaskRunnableAdds 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:TaskRunnableRemoves 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:TaskRunnableIndicates whether this TaskRunnable is empty.- Returns:
- A boolean to indicate whether this TaskRunnable is empty
-
getRunPeriod
public long getRunPeriod()
Description copied from interface:TaskRunnableReturns the run period of this TaskRunnable.- Returns:
- A long value to indicate the run period
-
run
public void run()
-
-