RollingWindowManager.User (Apache Hadoop HDFS 3.5.0 API)
Description: declaration: package: org.apache.hadoop.hdfs.server.namenode.top.window, class: RollingWindowManager, class: User

Package org.apache.hadoop.hdfs.server.namenode.top.window

# Class RollingWindowManager.User

java.lang.Object
org.apache.hadoop.hdfs.server.namenode.top.window.RollingWindowManager.User

All Implemented Interfaces:
  `Comparable<RollingWindowManager.User>`

Enclosing class:
  RollingWindowManager

public static class RollingWindowManager.User extends Object implements Comparable<RollingWindowManager.User>
Represents a user who called an Op within a TopWindow. Specifies the user and the number of times the user called the operation.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `User(String user, long count)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `add(long delta)`
  `int`
  `compareTo(RollingWindowManager.User other)`
  `boolean`
  `equals(Object o)`
  `long`
  `getCount()`
  `String`
  `getUser()`
  `int`
  `hashCode()`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### User

    public User(String user, long count)

- ## Method Details

  - ### getUser

    public String getUser()

  - ### getCount

    public long getCount()

  - ### add

    public void add(long delta)

  - ### compareTo

    public int compareTo(RollingWindowManager.User other)
    Specified by:
      `compareTo` in interface `Comparable<RollingWindowManager.User>`

  - ### equals

    public boolean equals(Object o)
    Overrides:
      `equals` in class `Object`

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`