Dashboard Builder Data Provider API 6.2.0.CR3

org.jboss.dashboard.dataset
Interface DataSetSettings


public interface DataSetSettings

Sometimes, the nature and location of data may lead to unexpected bad performance situations like: high-volume data load or connectivity issues. To cope with these situations the system needs detection mechanisms.

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.


Method Summary
 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)
           
 

Method Detail

getMaxMemoryUsedInDataLoad

long getMaxMemoryUsedInDataLoad()
Maximum memory in bytes a data set load operation may consume.

Notice that, however this is a general setting, an individual DataSetLoader instance might set its own threshold.


setMaxMemoryUsedInDataLoad

void setMaxMemoryUsedInDataLoad(long maxMemoryUsedInDataLoad)

getMaxDataSetSizeInBytes

long getMaxDataSetSizeInBytes()
Maximum size in bytes a data set may have.

Notice that, however this is a general setting, an individual DataSetLoader instance might set its own threshold.


setMaxDataSetSizeInBytes

void setMaxDataSetSizeInBytes(long maxDataSetSizeInBytes)

getMaxDataSetLoadTimeInMillis

long getMaxDataSetLoadTimeInMillis()
Maximum time in milliseconds a data set load operation may last.

Notice that, however this is a general setting, an individual DataSetLoader instance might set its own threshold.


setMaxDataSetLoadTimeInMillis

void setMaxDataSetLoadTimeInMillis(long maxDataSetLoadTimeInMillis)

getMaxDataSetFilterTimeInMillis

long getMaxDataSetFilterTimeInMillis()
Maximum time in milliseconds a data set filter operation may last.

Notice that, however this is a general setting, an individual DataSetLoader instance might set its own threshold.


setMaxDataSetFilterTimeInMillis

void setMaxDataSetFilterTimeInMillis(long maxDataSetLoadTimeInMillis)

getMaxDataSetGroupTimeInMillis

long getMaxDataSetGroupTimeInMillis()
Maximum time in milliseconds a data set group operation may last.

Notice that, however this is a general setting, an individual DataSetLoader instance might set its own threshold.


setMaxDataSetGroupTimeInMillis

void setMaxDataSetGroupTimeInMillis(long maxDataSetLoadTimeInMillis)

getMaxDataSetSortTimeInMillis

long getMaxDataSetSortTimeInMillis()
Maximum time in milliseconds a data set sort operation may last.

Notice that, however this is a general setting, an individual DataSetLoader instance might set its own threshold.


setMaxDataSetSortTimeInMillis

void setMaxDataSetSortTimeInMillis(long maxDataSetSortTimeInMillis)

Dashboard Builder Data Provider API 6.2.0.CR3

Copyright © 2012-2014 JBoss by Red Hat. All Rights Reserved.