public class OffHeapMemory<T extends OffHeapMemory<T>> extends Object
Constructor and Description |
---|
OffHeapMemory() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
Integer |
capacity()
Defines the capacity of the off-heap storage.
|
T |
capacity(Integer value)
Defines the capacity of the off-heap storage.
|
Long |
evictions()
The number of cache eviction operations.
|
T |
evictions(Long value)
The number of cache eviction operations.
|
EvictionType |
evictionType()
Indicates whether the size attribute refers to the number of cache
entries (i.e.
|
T |
evictionType(EvictionType value)
Indicates whether the size attribute refers to the number of cache
entries (i.e.
|
String |
getKey() |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Long |
size()
Eviction threshold, as defined by the eviction-type.
|
T |
size(Long value)
Eviction threshold, as defined by the eviction-type.
|
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Integer capacity()
public EvictionType evictionType()
public T evictionType(EvictionType value)
public Long evictions()
public T evictions(Long value)
public Long size()
Copyright © 2019 JBoss by Red Hat. All rights reserved.