Class FilterHandle
- java.lang.Object
-
- org.apache.sling.engine.impl.filter.FilterHandle
-
- All Implemented Interfaces:
Comparable<FilterHandle>
public class FilterHandle extends Object implements Comparable<FilterHandle>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(FilterHandle other)
Note: this class has a natural ordering that is inconsistent with equals.boolean
equals(Object obj)
long
getCalls()
javax.servlet.Filter
getFilter()
long
getFilterId()
int
getOrder()
String
getOrderSource()
long
getTime()
get the total duration to process this filterlong
getTimePerCall()
get the average duration per call of this filterint
hashCode()
-
-
-
Method Detail
-
getFilter
public javax.servlet.Filter getFilter()
-
getFilterId
public long getFilterId()
-
getOrder
public int getOrder()
-
getOrderSource
public String getOrderSource()
-
getCalls
public long getCalls()
-
getTime
public long getTime()
get the total duration to process this filter- Returns:
- duration in miliseconds
-
getTimePerCall
public long getTimePerCall()
get the average duration per call of this filter- Returns:
- the average duration in microseconds
-
compareTo
public int compareTo(FilterHandle other)
Note: this class has a natural ordering that is inconsistent with equals.- Specified by:
compareTo
in interfaceComparable<FilterHandle>
-
-