public interface DataSetSettings
This interface defines a bunch of settings that the system uses to know what are the thresholds allowed for some data set operations like: load, filter or group. Such operations are cpu or memory intensive prone and could compromise the system stability.
Modifier and Type | Method and Description |
---|---|
long |
getMaxDataSetFilterTimeInMillis()
Maximum time in milliseconds a data set filter operation may last.
|
long |
getMaxDataSetGroupTimeInMillis()
Maximum time in milliseconds a data set group operation may last.
|
long |
getMaxDataSetLoadTimeInMillis()
Maximum time in milliseconds a data set load operation may last.
|
long |
getMaxDataSetSizeInBytes()
Maximum size in bytes a data set may have.
|
long |
getMaxDataSetSortTimeInMillis()
Maximum time in milliseconds a data set sort operation may last.
|
long |
getMaxMemoryUsedInDataLoad()
Maximum memory in bytes a data set load operation may consume.
|
void |
setMaxDataSetFilterTimeInMillis(long maxDataSetLoadTimeInMillis) |
void |
setMaxDataSetGroupTimeInMillis(long maxDataSetLoadTimeInMillis) |
void |
setMaxDataSetLoadTimeInMillis(long maxDataSetLoadTimeInMillis) |
void |
setMaxDataSetSizeInBytes(long maxDataSetSizeInBytes) |
void |
setMaxDataSetSortTimeInMillis(long maxDataSetSortTimeInMillis) |
void |
setMaxMemoryUsedInDataLoad(long maxMemoryUsedInDataLoad) |
long getMaxMemoryUsedInDataLoad()
Notice that, however this is a general setting, an individual DataSetLoader instance might set its own threshold.
void setMaxMemoryUsedInDataLoad(long maxMemoryUsedInDataLoad)
long getMaxDataSetSizeInBytes()
Notice that, however this is a general setting, an individual DataSetLoader instance might set its own threshold.
void setMaxDataSetSizeInBytes(long maxDataSetSizeInBytes)
long getMaxDataSetLoadTimeInMillis()
Notice that, however this is a general setting, an individual DataSetLoader instance might set its own threshold.
void setMaxDataSetLoadTimeInMillis(long maxDataSetLoadTimeInMillis)
long getMaxDataSetFilterTimeInMillis()
Notice that, however this is a general setting, an individual DataSetLoader instance might set its own threshold.
void setMaxDataSetFilterTimeInMillis(long maxDataSetLoadTimeInMillis)
long getMaxDataSetGroupTimeInMillis()
Notice that, however this is a general setting, an individual DataSetLoader instance might set its own threshold.
void setMaxDataSetGroupTimeInMillis(long maxDataSetLoadTimeInMillis)
long getMaxDataSetSortTimeInMillis()
Notice that, however this is a general setting, an individual DataSetLoader instance might set its own threshold.
void setMaxDataSetSortTimeInMillis(long maxDataSetSortTimeInMillis)
Copyright © 2012–2016 JBoss by Red Hat. All rights reserved.