Dashboard Builder Commons 6.0.0.Beta1

Serialized Form


Package org.jboss.dashboard.commons.collections

Class org.jboss.dashboard.commons.collections.CursoredList extends Object implements Serializable

Serialized Fields

DEFAULT_PAGE_SIZE

int DEFAULT_PAGE_SIZE
Default page size.


list

List<E> list
The collection of elements.


pageNumber

int pageNumber
Cursor current page number. From 1 to N.


pageSize

int pageSize
Cursor page size.

Class org.jboss.dashboard.commons.collections.LazyList extends ArrayList implements Serializable

Serialized Fields

instanceList

List<E> instanceList
List of instances already retrieved by the lazy calls. It acts as an instance cache and an instance prefetch buffer.


discardDuplicates

boolean discardDuplicates
Flag indicating if duplicated elements are allowed.


fetchSize

int fetchSize
The number of elements fetched when invoking the get(index) method.


Package org.jboss.dashboard.commons.message

Class org.jboss.dashboard.commons.message.AbstractMessage extends Exception implements Serializable

Serialized Fields

elements

Object[] elements
The process elements involved in the message.


messageCode

String messageCode
The message code.


messageType

int messageType
Message type;

Class org.jboss.dashboard.commons.message.MessageList extends ArrayList implements Serializable

Serialized Fields

created

Date created

Package org.jboss.dashboard.commons.xml

Class org.jboss.dashboard.commons.xml.XMLNode extends Object implements Serializable

Serialized Fields

objectName

String objectName

attributes

Properties attributes

children

List<E> children

content

byte[] content

warnings

List<E> warnings

warningArguments

List<E> warningArguments

parent

XMLNode parent

Package org.jboss.dashboard.database.cache

Class org.jboss.dashboard.database.cache.CacheConfigurationGenerator extends BasicFactoryElement implements Serializable

Class org.jboss.dashboard.database.cache.CacheConfigurationManager extends BasicFactoryElement implements Serializable

Serialized Fields

cacheConfigurationGenerators

Properties cacheConfigurationGenerators

hibernateProperties

Properties hibernateProperties

cacheOptions

CacheOptions cacheOptions

configGenerator

CacheConfigurationGenerator configGenerator

Class org.jboss.dashboard.database.cache.CacheElement extends BasicFactoryElement implements Serializable

Serialized Fields

name

String name
This is a required attribute for cache elements only. The defaultCache does not have a name attribute. Legal values are any legal String value. Names must be unique. Ehcache will throw a CacheException if an attempt is made to create two caches with the same name.

Hibernate users should use the fully qualified class name of the DomainObject being cached. There are different rules for other types of Hibernate cache.

For more on Hibernate naming see Using ehcache as a Hibernate Plugin


maxElementsInMemory

int maxElementsInMemory
This is a required attribute.

Legal values are integers between 0 and Integer.MAX_VALUE.

It is the maximum number of elements to store in the MemoryStore. It is strongly recommended for performance reasons that this value is at least 1. If not a warning will be issued at Cache creation time.


eternal

boolean eternal
This is a required attribute.

Whether or not the cache is eternal. An eternal cache does not expire its elements.

Legal values are "true" or "false".


overflowToDisk

boolean overflowToDisk
This is a required attribute.

Legal values are "true" or "false".

Whether or not to use the DiskStore when the number of Elements has exceeded the maxElementsInMemory of the MemoryStore.

Entries to be removed from the MemoryStore, when it overflows, are determined using a least recently used algorithm ("LRU"). Used means inserted or accessed. If false, the LRU Element is discarded. If true, it is transferred to the DiskStore.


timeToIdleSeconds

long timeToIdleSeconds
This is an optional attribute.

Legal values are integers between 0 and Integer.MAX_VALUE.

It is the number of seconds that an Element should live since it was last used. Used means inserted or accessed.

0 has a special meaning, which is not to check the Element for time to idle, i.e. it will idle forever.

The default value is 0.


timeToLiveSeconds

long timeToLiveSeconds
This is an optional attribute.

Legal values are integers between 0 and Integer.MAX_VALUE.

It is the number of seconds that an Element should live since it was created. Created means inserted into a cache using the Cache.put method.

0 has a special meaning, which is not to check the Element for time to live, i.e. it will live forever.

The default value is 0.


diskPersistent

boolean diskPersistent
This is an optional attribute.

Legal values are "true" or "false".

Whether or not the DiskStore should be persisted between CacheManager shutdowns and Virtual Machine restarts.


diskExpiryThreadIntervalSeconds

long diskExpiryThreadIntervalSeconds
This is an optional attribute.

Legal values are integers between 0 and Integer.MAX_VALUE.

It is how long to the disk expiry thread should sleep between successive runs. Setting this value too low could cause performance problems. A setting of 0 is not recommended. It will cause 100% cpu load.

The default value is 120 seconds.


memoryStoreEvictionPolicy

String memoryStoreEvictionPolicy
Policy would be enforced upon reaching the maxElementsInMemory limit.

Default policy is Least Recently Used (specified as LRU). Other policies available: - First In First Out (specified as FIFO) and Least Frequently Used (specified as LFU)


diskCachePath

String diskCachePath

Class org.jboss.dashboard.database.cache.CacheOptions extends BasicFactoryElement implements Serializable

Serialized Fields

defaultCacheElement

CacheElement defaultCacheElement

cacheElements

CacheElement[] cacheElements
Individual cache elements to create.


cacheNamesToCreate

String[] cacheNamesToCreate
Caches to create specifying only name, using default parameters

Class org.jboss.dashboard.database.cache.CustomCacheConfigurationGenerator extends CacheConfigurationGenerator implements Serializable

Serialized Fields

cacheUsage

String cacheUsage

Package org.jboss.dashboard.database.cache.custom

Class org.jboss.dashboard.database.cache.custom.CacheFactory extends BasicFactoryElement implements Serializable

Serialized Fields

log

org.apache.commons.logging.Log log

cacheOptions

CacheOptions cacheOptions

multiCacheManager

MultiCacheManager multiCacheManager

customCaches

Set<E> customCaches

monitorizeCaches

boolean monitorizeCaches

createdCaches

List<E> createdCaches

Class org.jboss.dashboard.database.cache.custom.CacheNotification extends Object implements Serializable

Serialized Fields

type

String type

key

Serializable key

Class org.jboss.dashboard.database.cache.custom.LRUCache.ListeningLRUMap extends SynchronizedLRUMap implements Serializable

Serialized Fields

listener

LRUCacheListener listener
The listener for objects automatically removed from the cache.

Class org.jboss.dashboard.database.cache.custom.MultiCacheManager extends BasicFactoryElement implements Serializable

Serialized Fields

groupClears

boolean groupClears

clearIntervalMillis

long clearIntervalMillis

cacheNotifications

List<E> cacheNotifications

shuttingDown

boolean shuttingDown

caches

HashMap<K,V> caches

Package org.jboss.dashboard.database.cache.custom.map

Class org.jboss.dashboard.database.cache.custom.map.LRUMap extends AbstractLinkedMap implements Serializable

serialVersionUID: -612114643488955218L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Read the map in using a custom routine.

Throws:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException
Write the map out using a custom routine.

Throws:
IOException
Serialized Fields

scanUntilRemovable

boolean scanUntilRemovable
Scan behaviour

Class org.jboss.dashboard.database.cache.custom.map.SynchronizedLRUMap extends LRUMap implements Serializable


Package org.jboss.dashboard.database.hibernate

Class org.jboss.dashboard.database.hibernate.BinaryBlobType extends org.hibernate.lob.BlobImpl implements Serializable

Class org.jboss.dashboard.database.hibernate.StringBlobType extends org.hibernate.lob.BlobImpl implements Serializable


Package org.jboss.dashboard.error

Class org.jboss.dashboard.error.ApplicationError extends RuntimeException implements Serializable

Class org.jboss.dashboard.error.BusinessError extends ApplicationError implements Serializable

Serialized Fields

level

int level

title

String title

message

String message

Class org.jboss.dashboard.error.ErrorReport extends BasicFactoryElement implements Serializable

Serialized Fields

date

Date date
The error date


id

String id
The error unique identifier


exception

Throwable exception
The error itself


codeBlock

CodeBlockTrace codeBlock
The code block where the exception occurs.

Class org.jboss.dashboard.error.TechnicalError extends ApplicationError implements Serializable


Package org.jboss.dashboard.factory

Class org.jboss.dashboard.factory.BasicFactoryElement extends Object implements Serializable

Serialized Fields

factoryComponentName

String factoryComponentName

factoryComponentScope

String factoryComponentScope

factoryComponentDescription

String factoryComponentDescription

factoryComponentAlias

String factoryComponentAlias

componentKillFlag

boolean componentKillFlag

Class org.jboss.dashboard.factory.LookupException extends Exception implements Serializable


Dashboard Builder Commons 6.0.0.Beta1

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