public class ByteTracker extends Object
ResourceLimitExceededException
.Constructor and Description |
---|
ByteTracker(long maxBytes) |
Modifier and Type | Method and Description |
---|---|
void |
release(long byteCount) |
void |
reserve(long byteCount) |
static ByteTracker |
unboundedTracker() |
public void reserve(long byteCount) throws ResourceLimitExceededException
ResourceLimitExceededException
public void release(long byteCount)
public static ByteTracker unboundedTracker()
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.