Class FSRequestCleanUpRunnable
- java.lang.Object
-
- com.sun.identity.common.GeneralTaskRunnable
-
- com.sun.identity.common.PeriodicRunnable
-
- com.sun.identity.common.PeriodicGroupRunnable
-
- com.sun.identity.federation.services.FSRequestCleanUpRunnable
-
- All Implemented Interfaces:
ScheduleableGroupAction,TaskRunnable,Runnable
public class FSRequestCleanUpRunnable extends PeriodicGroupRunnable
This is a helper class used by FSSessionManager to clean up expired assertionIDs from the map.
-
-
Field Summary
-
Fields inherited from class com.sun.identity.common.PeriodicGroupRunnable
target
-
Fields inherited from class com.sun.identity.common.PeriodicRunnable
containerNeeded, nextTurn, removeElementAfterAction, runPeriod, thisTurn, timeoutPeriod
-
Fields inherited from class com.sun.identity.common.GeneralTaskRunnable
headTask, nextTask, previousTask
-
-
Constructor Summary
Constructors Constructor Description FSRequestCleanUpRunnable(Map idAuthnRequestMap, Map idDestnMap, long threadCleanupInterval, long timeoutPeriod)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun()Implements for TaskRunnable.-
Methods inherited from class com.sun.identity.common.PeriodicGroupRunnable
doGroupAction
-
Methods inherited from class com.sun.identity.common.PeriodicRunnable
addElement, getRunPeriod, getTimeoutPeriod, isEmpty, removeElement
-
Methods inherited from class com.sun.identity.common.GeneralTaskRunnable
cancel, getHeadTask, isScheduled, next, previous, scheduledExecutionTime, setHeadTask, setNext, setPrevious
-
-
-
-
Constructor Detail
-
FSRequestCleanUpRunnable
public FSRequestCleanUpRunnable(Map idAuthnRequestMap, Map idDestnMap, long threadCleanupInterval, long timeoutPeriod)
Constructor.- Parameters:
idAuthnRequestMap- request ID (String) and FSAuthnRequest mapidDestnMap- request ID (String) and FSProviderDescriptor mapthreadCleanupInterval- thread cleanup intervaltimeoutPeriod- timeout time
-
-
Method Detail
-
run
public void run()
Description copied from class:PeriodicGroupRunnableImplements for TaskRunnable. Run the function of ScheduleableGroupAction on the objects in thisTurn 1 by 1, and interchange thisTurn and nextTurn.- Specified by:
runin interfaceRunnable- Overrides:
runin classPeriodicGroupRunnable
-
-