Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.1.0

E22843-01


com.tangosol.coherence.servlet
Class ParallelReapTask

java.lang.Object
  extended by com.tangosol.coherence.servlet.AbstractReapTask
      extended by com.tangosol.coherence.servlet.ParallelReapTask

All Implemented Interfaces:
java.lang.Runnable

Deprecated. In releases following 3.6 customization will be declarative.

public class ParallelReapTask
extends AbstractReapTask

This reaping task reaps the sessions in parallel instead of in sequence. It uses a work manager to execute each session invalidation so the degree of parallelism can be controlled by configuring the number of threads in the work manager.

Author:
Torkel Dominique

Field Summary

 

Fields inherited from class com.tangosol.coherence.servlet.AbstractReapTask
mStartTime

 

Constructor Summary
ParallelReapTask(SessionHelper sessionHelper, SessionReaperStatistics statistics, java.util.Iterator iterIds, WorkManager workManager)
          Deprecated.  

 

Method Summary
protected  void reap()
          Deprecated. Schedules a reap work for each session.

 

Methods inherited from class com.tangosol.coherence.servlet.AbstractReapTask
checkAndInvalidate, done, getDaemon, getNrOfInvalidatedSessions, getSessionHelper, getSessionIdIterator, isDone, run, scheduleNextCycle

 

Constructor Detail

ParallelReapTask

public ParallelReapTask(SessionHelper sessionHelper,
                        SessionReaperStatistics statistics,
                        java.util.Iterator iterIds,
                        WorkManager workManager)
Deprecated. 

Method Detail

reap

protected void reap()
Deprecated. 
Schedules a reap work for each session.
Specified by:
reap in class AbstractReapTask

Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.1.0

E22843-01


Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.