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 intcompareTo(FilterHandle other)Note: this class has a natural ordering that is inconsistent with equals.booleanequals(Object obj)longgetCalls()javax.servlet.FiltergetFilter()longgetFilterId()intgetOrder()StringgetOrderSource()longgetTime()get the total duration to process this filterlonggetTimePerCall()get the average duration per call of this filterinthashCode()
-
-
-
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:
compareToin interfaceComparable<FilterHandle>
-
-