org.appspy.perf.servlet.skip
Class SessionSamplingSkipManager

java.lang.Object
  extended by org.appspy.perf.servlet.skip.SessionSamplingSkipManager
All Implemented Interfaces:
SkipManager

public class SessionSamplingSkipManager
extends java.lang.Object
implements SkipManager

Author:
Olivier HEDIN / olivier@appspy.org

Field Summary
protected static int mCollectedDataCounter
           
protected  int mSampling
           
static java.lang.String SKIP_SESSION_ATTRIBUTE
           
 
Fields inherited from interface org.appspy.perf.servlet.skip.SkipManager
COLLECT, SKIP, UNDEFINED
 
Constructor Summary
SessionSamplingSkipManager()
           
 
Method Summary
 int getSampling()
           
 void setSampling(int sampling)
           
 int skipRequest(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, javax.servlet.ServletContext sc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SKIP_SESSION_ATTRIBUTE

public static final java.lang.String SKIP_SESSION_ATTRIBUTE
See Also:
Constant Field Values

mCollectedDataCounter

protected static int mCollectedDataCounter

mSampling

protected int mSampling
Constructor Detail

SessionSamplingSkipManager

public SessionSamplingSkipManager()
Method Detail

skipRequest

public int skipRequest(javax.servlet.ServletRequest req,
                       javax.servlet.ServletResponse res,
                       javax.servlet.ServletContext sc)
Specified by:
skipRequest in interface SkipManager

getSampling

public int getSampling()
Returns:
the sampling

setSampling

public void setSampling(int sampling)
Parameters:
sampling - the sampling to set


Copyright © 2009. All Rights Reserved.