org.infinispan.configuration.global
Class GlobalConfigurationBuilder

java.lang.Object
  extended by org.infinispan.configuration.global.GlobalConfigurationBuilder
All Implemented Interfaces:
GlobalConfigurationChildBuilder

public class GlobalConfigurationBuilder
extends Object
implements GlobalConfigurationChildBuilder


Constructor Summary
GlobalConfigurationBuilder()
           
 
Method Summary
 ExecutorFactoryConfigurationBuilder asyncListenerExecutor()
           
 ExecutorFactoryConfigurationBuilder asyncTransportExecutor()
           
 GlobalConfiguration build()
           
 GlobalConfigurationBuilder classLoader(ClassLoader cl)
           
 GlobalConfigurationBuilder clusteredDefault()
          Helper method that gets you a default constructed GlobalConfiguration, preconfigured to use the default clustering stack.
static GlobalConfigurationBuilder defaultClusteredBuilder()
           
 boolean equals(Object o)
           
 ScheduledExecutorFactoryConfigurationBuilder evictionScheduledExecutor()
           
protected  ClassLoader getClassLoader()
           
 GlobalJmxStatisticsConfigurationBuilder globalJmxStatistics()
          This method allows configuration of the global, or cache manager level, jmx statistics.
 int hashCode()
           
 GlobalConfigurationBuilder nonClusteredDefault()
          Helper method that gets you a default constructed GlobalConfiguration, preconfigured for use in LOCAL mode
 GlobalConfigurationBuilder read(GlobalConfiguration template)
           
 ScheduledExecutorFactoryConfigurationBuilder replicationQueueScheduledExecutor()
           
 SerializationConfigurationBuilder serialization()
           
 ShutdownConfigurationBuilder shutdown()
           
 String toString()
           
 TransportConfigurationBuilder transport()
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GlobalConfigurationBuilder

public GlobalConfigurationBuilder()
Method Detail

clusteredDefault

public GlobalConfigurationBuilder clusteredDefault()
Helper method that gets you a default constructed GlobalConfiguration, preconfigured to use the default clustering stack.

Returns:
a new global configuration

nonClusteredDefault

public GlobalConfigurationBuilder nonClusteredDefault()
Helper method that gets you a default constructed GlobalConfiguration, preconfigured for use in LOCAL mode

Returns:
a new global configuration

getClassLoader

protected ClassLoader getClassLoader()

classLoader

public GlobalConfigurationBuilder classLoader(ClassLoader cl)

transport

public TransportConfigurationBuilder transport()
Specified by:
transport in interface GlobalConfigurationChildBuilder

globalJmxStatistics

public GlobalJmxStatisticsConfigurationBuilder globalJmxStatistics()
This method allows configuration of the global, or cache manager level, jmx statistics.

Specified by:
globalJmxStatistics in interface GlobalConfigurationChildBuilder

serialization

public SerializationConfigurationBuilder serialization()
Specified by:
serialization in interface GlobalConfigurationChildBuilder

asyncTransportExecutor

public ExecutorFactoryConfigurationBuilder asyncTransportExecutor()
Specified by:
asyncTransportExecutor in interface GlobalConfigurationChildBuilder

asyncListenerExecutor

public ExecutorFactoryConfigurationBuilder asyncListenerExecutor()
Specified by:
asyncListenerExecutor in interface GlobalConfigurationChildBuilder

evictionScheduledExecutor

public ScheduledExecutorFactoryConfigurationBuilder evictionScheduledExecutor()
Specified by:
evictionScheduledExecutor in interface GlobalConfigurationChildBuilder

replicationQueueScheduledExecutor

public ScheduledExecutorFactoryConfigurationBuilder replicationQueueScheduledExecutor()
Specified by:
replicationQueueScheduledExecutor in interface GlobalConfigurationChildBuilder

shutdown

public ShutdownConfigurationBuilder shutdown()
Specified by:
shutdown in interface GlobalConfigurationChildBuilder

validate

public void validate()

build

public GlobalConfiguration build()
Specified by:
build in interface GlobalConfigurationChildBuilder

read

public GlobalConfigurationBuilder read(GlobalConfiguration template)

defaultClusteredBuilder

public static GlobalConfigurationBuilder defaultClusteredBuilder()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.