|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.storage.olap.MetadataPerformanceTuning
public class MetadataPerformanceTuning
Metadata Performance Tuning Object defines the performance settings for OLAP metadata. The metadata model uses this information to make the remote calls more efficient by bringing over and storing the right amount of data. Each metadata model has a default PerformanceTuning object (with default values) associated with it.
Metadata
Field Summary | |
---|---|
static int |
DEFAULT_BUFFERSIZE
Default buffer or cache size for the member cache. |
static int |
DEFAULT_LOOKAHEAD
Default look ahead size. |
static int |
DEFAULT_MAX_FILTERS
Default number of filters to store in the cache |
Constructor Summary | |
---|---|
MetadataPerformanceTuning()
Create a default performance tuning object with default values. |
|
MetadataPerformanceTuning(int bufferSize,
int lookAhead,
int maxFilters)
Create a performance tuning object with specified buffersize, lookAhead and maxFilters. |
Method Summary | |
---|---|
int |
bufferSize()
Get the buffersize set on the performance tuning object |
int |
lookAhead()
Get the read ahead value. |
int |
maxFilters()
Get the number of member filters to store in the cache |
void |
setCacheParms(int bufferSize,
int lookAhead,
int maxFilters)
Set the cache properties |
boolean |
useCache()
Check to see if the cache is being used or not. |
void |
useCache(boolean useCache)
Set the flag to use the cache or not. |
Field Detail |
---|
public static final int DEFAULT_BUFFERSIZE
public static final int DEFAULT_LOOKAHEAD
public static final int DEFAULT_MAX_FILTERS
Constructor Detail |
---|
public MetadataPerformanceTuning()
public MetadataPerformanceTuning(int bufferSize, int lookAhead, int maxFilters)
bufferSize
- maximum number of elements to store in the cachelookAhead
- number of elements to read ahead when making a server callmaxFilter
- number of filters to store in the cacheMethod Detail |
---|
public boolean useCache()
public void useCache(boolean useCache)
useCache
- true if the cache should be used false otherwise. The
default value is to use the cache.public void setCacheParms(int bufferSize, int lookAhead, int maxFilters)
bufferSize
- cache size or -1 to use default valuelookAhead
- number of elements to read ahead
and store in the cache or -1 to use default valuemaxFilters
- number of member filters to store in the
cache or -1 to use default valuepublic int bufferSize()
public int lookAhead()
public int maxFilters()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |