Dashboard Builder Data Provider API 6.2.0.Final

org.jboss.dashboard.provider
Class AbstractDataLoader

java.lang.Object
  extended by org.jboss.dashboard.provider.AbstractDataLoader
All Implemented Interfaces:
DataLoader

public abstract class AbstractDataLoader
extends Object
implements DataLoader

Base class for the implementation of custom data loaders.


Field Summary
protected  DataProviderType dataProviderType
           
protected  Long maxDataSetFilterTimeInMillis
           
protected  Long maxDataSetGroupTimeInMillis
           
protected  Long maxDataSetLoadTimeInMillis
           
protected  Long maxDataSetSizeInBytes
           
protected  Long maxDataSetSortTimeInMillis
           
protected  Long maxMemoryUsedInDataLoad
           
 
Constructor Summary
AbstractDataLoader()
           
 
Method Summary
 DataProviderType getDataProviderType()
          The provider type.
 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 setDataProviderType(DataProviderType dataProviderType)
           
 void setMaxDataSetFilterTimeInMillis(Long maxDataSetFilterTimeInMillis)
           
 void setMaxDataSetGroupTimeInMillis(Long maxDataSetGroupTimeInMillis)
           
 void setMaxDataSetLoadTimeInMillis(Long maxDataSetLoadTimeInMillis)
           
 void setMaxDataSetSizeInBytes(Long maxDataSetSizeInBytes)
           
 void setMaxDataSetSortTimeInMillis(Long maxDataSetSortTimeInMillis)
           
 void setMaxMemoryUsedInDataLoad(Long maxMemoryUsedInDataLoad)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.dashboard.provider.DataLoader
isReady, load
 

Field Detail

dataProviderType

protected DataProviderType dataProviderType

maxMemoryUsedInDataLoad

protected Long maxMemoryUsedInDataLoad

maxDataSetSizeInBytes

protected Long maxDataSetSizeInBytes

maxDataSetLoadTimeInMillis

protected Long maxDataSetLoadTimeInMillis

maxDataSetFilterTimeInMillis

protected Long maxDataSetFilterTimeInMillis

maxDataSetGroupTimeInMillis

protected Long maxDataSetGroupTimeInMillis

maxDataSetSortTimeInMillis

protected Long maxDataSetSortTimeInMillis
Constructor Detail

AbstractDataLoader

public AbstractDataLoader()
Method Detail

getDataProviderType

public DataProviderType getDataProviderType()
Description copied from interface: DataLoader
The provider type.

Specified by:
getDataProviderType in interface DataLoader

setDataProviderType

public void setDataProviderType(DataProviderType dataProviderType)
Specified by:
setDataProviderType in interface DataLoader

getMaxDataSetSizeInBytes

public Long getMaxDataSetSizeInBytes()
Description copied from interface: DataLoader
Maximum size in bytes a data set may have.

Specified by:
getMaxDataSetSizeInBytes in interface DataLoader

setMaxDataSetSizeInBytes

public void setMaxDataSetSizeInBytes(Long maxDataSetSizeInBytes)
Specified by:
setMaxDataSetSizeInBytes in interface DataLoader

getMaxDataSetLoadTimeInMillis

public Long getMaxDataSetLoadTimeInMillis()
Description copied from interface: DataLoader
Maximum time in milliseconds a data set load operation may last.

Specified by:
getMaxDataSetLoadTimeInMillis in interface DataLoader

setMaxDataSetLoadTimeInMillis

public void setMaxDataSetLoadTimeInMillis(Long maxDataSetLoadTimeInMillis)
Specified by:
setMaxDataSetLoadTimeInMillis in interface DataLoader

getMaxMemoryUsedInDataLoad

public Long getMaxMemoryUsedInDataLoad()
Description copied from interface: DataLoader
Maximum memory in bytes a data set load operation may consume.

Specified by:
getMaxMemoryUsedInDataLoad in interface DataLoader

setMaxMemoryUsedInDataLoad

public void setMaxMemoryUsedInDataLoad(Long maxMemoryUsedInDataLoad)
Specified by:
setMaxMemoryUsedInDataLoad in interface DataLoader

getMaxDataSetFilterTimeInMillis

public Long getMaxDataSetFilterTimeInMillis()
Description copied from interface: DataLoader
Maximum time in milliseconds a data set filter operation may last.

Specified by:
getMaxDataSetFilterTimeInMillis in interface DataLoader

setMaxDataSetFilterTimeInMillis

public void setMaxDataSetFilterTimeInMillis(Long maxDataSetFilterTimeInMillis)
Specified by:
setMaxDataSetFilterTimeInMillis in interface DataLoader

getMaxDataSetGroupTimeInMillis

public Long getMaxDataSetGroupTimeInMillis()
Description copied from interface: DataLoader
Maximum time in milliseconds a data set group operation may last.

Specified by:
getMaxDataSetGroupTimeInMillis in interface DataLoader

setMaxDataSetGroupTimeInMillis

public void setMaxDataSetGroupTimeInMillis(Long maxDataSetGroupTimeInMillis)
Specified by:
setMaxDataSetGroupTimeInMillis in interface DataLoader

getMaxDataSetSortTimeInMillis

public Long getMaxDataSetSortTimeInMillis()
Description copied from interface: DataLoader
Maximum time in milliseconds a data set sort operation may last.

Specified by:
getMaxDataSetSortTimeInMillis in interface DataLoader

setMaxDataSetSortTimeInMillis

public void setMaxDataSetSortTimeInMillis(Long maxDataSetSortTimeInMillis)
Specified by:
setMaxDataSetSortTimeInMillis in interface DataLoader

Dashboard Builder Data Provider API 6.2.0.Final

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