public class QueueSize extends Object
Modifier and Type | Field and Description |
---|---|
private int |
hashCode |
private int |
objectCount |
private long |
totalSizeBytes |
Constructor and Description |
---|
QueueSize(int numberObjects,
long totalSizeBytes) |
Modifier and Type | Method and Description |
---|---|
QueueSize |
add(int count,
long bytes) |
QueueSize |
add(QueueSize other)
Returns a new QueueSize that is the sum of this QueueSize and the provided QueueSize
|
boolean |
equals(Object obj) |
long |
getByteCount() |
int |
getObjectCount() |
int |
hashCode() |
String |
toString() |
private final int objectCount
private final long totalSizeBytes
private final int hashCode
public int getObjectCount()
public long getByteCount()
public QueueSize add(QueueSize other)
other
- the other QueueSize to add to this QueueSizepublic QueueSize add(int count, long bytes)
Copyright © 2019 Apache NiFi Project. All rights reserved.