Class RollingWindowManager.Op
java.lang.Object
org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager.Op
- All Implemented Interfaces:
Comparable<RollingWindowManager.Op>
- Enclosing class:
- RollingWindowManager
public static class RollingWindowManager.Op
extends Object
implements Comparable<RollingWindowManager.Op>
Represents an operation within a TopWindow. It contains a ranked
set of the top users for the operation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(RollingWindowManager.Op other) booleanlonginthashCode()
-
Constructor Details
-
Op
public Op(String opType, org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager.UserCounts users, int limit)
-
-
Method Details
-
getOpType
-
getAllUsers
-
getTopUsers
-
getTotalCount
public long getTotalCount() -
compareTo
- Specified by:
compareToin interfaceComparable<RollingWindowManager.Op>
-
equals
-
hashCode
public int hashCode()
-