org.owasp.esapi
Class Threshold

java.lang.Object
  extended byorg.owasp.esapi.Threshold

public class Threshold
extends java.lang.Object

The threshold class simply models the data for a basic threshold with a name, elapsed time, counter, and a set of actions to take.

Since:
June 1, 2007
Author:
Jeff Williams (jeff.williams@aspectsecurity.com) Aspect Security

Field Summary
 java.util.List actions
           
 int count
           
 long interval
           
 java.lang.String name
           
 
Constructor Summary
Threshold(java.lang.String name, int count, long interval, java.util.List actions)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name

count

public int count

interval

public long interval

actions

public java.util.List actions
Constructor Detail

Threshold

public Threshold(java.lang.String name,
                 int count,
                 long interval,
                 java.util.List actions)