public class NullCacheSizeAllocator extends Object implements CacheSizeAllocator
| Constructor and Description |
|---|
NullCacheSizeAllocator() |
| Modifier and Type | Method and Description |
|---|---|
void |
allocate(long size)
Cost available cache.
|
long |
getAvailableCacheSize()
Get available cache size.
|
void |
release(long size)
Release allocated cache size.
|
public long getAvailableCacheSize()
CacheSizeAllocatorgetAvailableCacheSize in interface CacheSizeAllocatorpublic void allocate(long size)
CacheSizeAllocatorallocate in interface CacheSizeAllocatorsize - allocate sizepublic void release(long size)
CacheSizeAllocatorrelease in interface CacheSizeAllocatorsize - release sizeCopyright © 2017–2022 Apache Software Foundation. All rights reserved.