Copyright © 2008, 2009 Pedro Agulló Soliveres

com.softwarementors.extjs.djn.config
Class GlobalConfiguration

java.lang.Object
  extended by com.softwarementors.extjs.djn.config.GlobalConfiguration

public class GlobalConfiguration
extends java.lang.Object


Field Summary
static int DEFAULT_BATCH_REQUESTS_MAX_THREAD_POOL_SIZE
           
static int DEFAULT_BATCH_REQUESTS_MAX_THREADS_PER_REQUEST
           
static int DEFAULT_BATCH_REQUESTS_MIN_THREAD_POOL_SIZE
           
static boolean DEFAULT_BATCH_REQUESTS_MULTITHREADING_ENABLED_VALUE
           
static int DEFAULT_BATCH_REQUESTS_THREAD_KEEP_ALIVE_SECONDS
           
static boolean DEFAULT_DEBUG_VALUE
           
static java.lang.Class<? extends GsonBuilderConfigurator> DEFAULT_GSON_BUILDER_CONFIGURATOR_CLASS
           
static boolean DEFAULT_MINIFY_VALUE
           
static int MIN_BATCH_REQUESTS_MAX_THREAD_POOL_SIZE
           
static int MIN_BATCH_REQUESTS_MAX_THREADS_PER_REQUEST
           
static int MIN_BATCH_REQUESTS_MIN_THREAD_POOL_SIZE
           
static int MIN_BATCH_REQUESTS_THREAD_KEEP_ALIVE_SECONDS
           
 
Constructor Summary
GlobalConfiguration(java.lang.String providersUrl, boolean debug, java.lang.Class<? extends GsonBuilderConfigurator> gsonBuilderConfiguratorClass, java.lang.Class<? extends RegistryConfigurator> registryConfiguratorClass, boolean minify, boolean batchRequestsMultithreadingEnabled, int batchRequestsMinThreadsPoolSize, int batchRequestsMaxThreadsPoolSize, int batchRequestsThreadKeepAliveSeconds, int batchRequestsMaxThreadsPerRequest)
           
 
Method Summary
 int getBatchRequestsMaxThreadsPerRequest()
           
 int getBatchRequestsMaxThreadsPoolSize()
           
 int getBatchRequestsMinThreadsPoolSize()
           
 boolean getBatchRequestsMultithreadingEnabled()
           
 int getBatchRequestsThreadKeepAliveSeconds()
           
 boolean getDebug()
           
 java.lang.Class<? extends GsonBuilderConfigurator> getGsonBuilderConfiguratorClass()
           
 boolean getMinify()
           
 java.lang.String getProvidersUrl()
           
 java.lang.Class<? extends RegistryConfigurator> getRegistryConfiguratorClass()
           
 boolean hasCustomRegistryConfigurationClass()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_DEBUG_VALUE

public static final boolean DEFAULT_DEBUG_VALUE
See Also:
Constant Field Values

DEFAULT_GSON_BUILDER_CONFIGURATOR_CLASS

public static final java.lang.Class<? extends GsonBuilderConfigurator> DEFAULT_GSON_BUILDER_CONFIGURATOR_CLASS

MIN_BATCH_REQUESTS_MIN_THREAD_POOL_SIZE

public static final int MIN_BATCH_REQUESTS_MIN_THREAD_POOL_SIZE
See Also:
Constant Field Values

MIN_BATCH_REQUESTS_MAX_THREAD_POOL_SIZE

public static final int MIN_BATCH_REQUESTS_MAX_THREAD_POOL_SIZE
See Also:
Constant Field Values

MIN_BATCH_REQUESTS_MAX_THREADS_PER_REQUEST

public static final int MIN_BATCH_REQUESTS_MAX_THREADS_PER_REQUEST
See Also:
Constant Field Values

MIN_BATCH_REQUESTS_THREAD_KEEP_ALIVE_SECONDS

public static final int MIN_BATCH_REQUESTS_THREAD_KEEP_ALIVE_SECONDS
See Also:
Constant Field Values

DEFAULT_BATCH_REQUESTS_MULTITHREADING_ENABLED_VALUE

public static final boolean DEFAULT_BATCH_REQUESTS_MULTITHREADING_ENABLED_VALUE
See Also:
Constant Field Values

DEFAULT_BATCH_REQUESTS_MAX_THREADS_PER_REQUEST

public static final int DEFAULT_BATCH_REQUESTS_MAX_THREADS_PER_REQUEST
See Also:
Constant Field Values

DEFAULT_BATCH_REQUESTS_MIN_THREAD_POOL_SIZE

public static final int DEFAULT_BATCH_REQUESTS_MIN_THREAD_POOL_SIZE
See Also:
Constant Field Values

DEFAULT_BATCH_REQUESTS_MAX_THREAD_POOL_SIZE

public static final int DEFAULT_BATCH_REQUESTS_MAX_THREAD_POOL_SIZE
See Also:
Constant Field Values

DEFAULT_BATCH_REQUESTS_THREAD_KEEP_ALIVE_SECONDS

public static final int DEFAULT_BATCH_REQUESTS_THREAD_KEEP_ALIVE_SECONDS
See Also:
Constant Field Values

DEFAULT_MINIFY_VALUE

public static final boolean DEFAULT_MINIFY_VALUE
See Also:
Constant Field Values
Constructor Detail

GlobalConfiguration

public GlobalConfiguration(java.lang.String providersUrl,
                           boolean debug,
                           java.lang.Class<? extends GsonBuilderConfigurator> gsonBuilderConfiguratorClass,
                           java.lang.Class<? extends RegistryConfigurator> registryConfiguratorClass,
                           boolean minify,
                           boolean batchRequestsMultithreadingEnabled,
                           int batchRequestsMinThreadsPoolSize,
                           int batchRequestsMaxThreadsPoolSize,
                           int batchRequestsThreadKeepAliveSeconds,
                           int batchRequestsMaxThreadsPerRequest)
Method Detail

getProvidersUrl

public java.lang.String getProvidersUrl()

getDebug

public boolean getDebug()

getGsonBuilderConfiguratorClass

public java.lang.Class<? extends GsonBuilderConfigurator> getGsonBuilderConfiguratorClass()

getMinify

public boolean getMinify()

getBatchRequestsMultithreadingEnabled

public boolean getBatchRequestsMultithreadingEnabled()

getBatchRequestsMinThreadsPoolSize

public int getBatchRequestsMinThreadsPoolSize()

getBatchRequestsMaxThreadsPoolSize

public int getBatchRequestsMaxThreadsPoolSize()

getBatchRequestsThreadKeepAliveSeconds

public int getBatchRequestsThreadKeepAliveSeconds()

getBatchRequestsMaxThreadsPerRequest

public int getBatchRequestsMaxThreadsPerRequest()

getRegistryConfiguratorClass

public java.lang.Class<? extends RegistryConfigurator> getRegistryConfiguratorClass()

hasCustomRegistryConfigurationClass

public boolean hasCustomRegistryConfigurationClass()

Copyright © 2008, 2009 Pedro Agulló Soliveres