public class LayerFieldRecycler
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ENV_RECYCLER_MINIMUM_CHECK_SIZE
The environment variable to control the MINIMUM size of the overhead before
we will check the if this recycler is too Expensive.
|
static int |
MINIMUM_CHECK_SIZE
The MINIMUM size of the overhead before
we will check the if this recycler is too Expensive.
|
Constructor and Description |
---|
LayerFieldRecycler(DBField field)
Create a new recycler for a field.
|
Modifier and Type | Method and Description |
---|---|
long |
getRecycleCount()
The count of recycled values
|
long |
getUniqueCount()
The count of unique values
|
boolean |
isTooExspensive()
is the recycler too expensive and should be discontinued ?
|
LayerField |
recycle(LayerField lf)
Recycle the layer field.
|
public static final java.lang.String ENV_RECYCLER_MINIMUM_CHECK_SIZE
public static final int MINIMUM_CHECK_SIZE
public LayerFieldRecycler(DBField field)
field
- The field to recyclepublic long getRecycleCount()
public long getUniqueCount()
public LayerField recycle(LayerField lf)
lf
- the layer fieldpublic boolean isTooExspensive()
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.