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()
Deprecated.
Deprecated. Use corresponding metric on parent resource.
|
T |
evictions(Long value)
Deprecated.
Deprecated. Use corresponding metric on parent resource.
|
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)
@Deprecated public Long evictions()
@Deprecated public T evictions(Long value)
public Long size()
Copyright © 2019 JBoss by Red Hat. All rights reserved.