public final class FieldCacheLoader
extends java.lang.Object
Constructor and Description |
---|
FieldCacheLoader(PossibleRowsHolder pr)
the constructor
|
Modifier and Type | Method and Description |
---|---|
void |
add(long rowUID)
add a row
|
void |
addMultiRows(long[] rowsToAdd)
the rows to add
|
void |
addMultiRows(PossibleRowsHolder pr)
the rows to add
|
long |
getMaxTableRows()
the maximum rows
|
long[] |
getSortedRows()
return the sorted rows
|
boolean |
hasInitialRows()
do we have initial rows.
|
void |
invalidate()
invalidate this loader
|
boolean |
isValid()
is the loader valid ?
|
void |
setMaxTableRows(long maxRows)
set the maximum rows for a table
|
int |
size()
what is the size ?
|
public FieldCacheLoader(@Nullable PossibleRowsHolder pr)
pr
- the possible rows@CheckReturnValue public boolean hasInitialRows()
public void invalidate()
@CheckReturnValue public long getMaxTableRows()
public void setMaxTableRows(@Nonnegative long maxRows)
maxRows
- the maximum rows@CheckReturnValue public boolean isValid()
public void addMultiRows(@Nonnull PossibleRowsHolder pr)
pr
- add rowspublic void addMultiRows(@Nonnull long[] rowsToAdd)
rowsToAdd
- add rowspublic void add(long rowUID)
rowUID
- to add@CheckReturnValue @Nonnegative public int size()
@CheckReturnValue @Nonnull public long[] getSortedRows()
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.