org.infinispan.configuration.global
Class ScheduledExecutorFactoryConfigurationBuilder

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

public class ScheduledExecutorFactoryConfigurationBuilder
extends Object

Configures executor factory.


Method Summary
 ScheduledExecutorFactoryConfigurationBuilder addProperty(String key, String value)
          Add key/value property pair to this executor factory configuration
 ExecutorFactoryConfigurationBuilder asyncListenerExecutor()
           
 ExecutorFactoryConfigurationBuilder asyncTransportExecutor()
           
 GlobalConfiguration build()
           
 boolean equals(Object o)
           
 ScheduledExecutorFactoryConfigurationBuilder evictionScheduledExecutor()
           
 ScheduledExecutorFactoryConfigurationBuilder factory(ScheduledExecutorFactory factory)
          Specify factory class for executor NOTE: Currently Infinispan will not use the object instance, but instead instantiate a new instance of the class.
protected  GlobalConfigurationBuilder getGlobalConfig()
           
 GlobalJmxStatisticsConfigurationBuilder globalJmxStatistics()
           
 int hashCode()
           
 ScheduledExecutorFactoryConfigurationBuilder read(ScheduledExecutorFactoryConfiguration template)
           
 ScheduledExecutorFactoryConfigurationBuilder replicationQueueScheduledExecutor()
           
 SerializationConfigurationBuilder serialization()
           
 ShutdownConfigurationBuilder shutdown()
           
 String toString()
           
 TransportConfigurationBuilder transport()
           
 ScheduledExecutorFactoryConfigurationBuilder withProperties(Properties props)
          Set key/value properties to this executor factory configuration
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

factory

public ScheduledExecutorFactoryConfigurationBuilder factory(ScheduledExecutorFactory factory)
Specify factory class for executor NOTE: Currently Infinispan will not use the object instance, but instead instantiate a new instance of the class. Therefore, do not expect any state to survive, and provide a no-args constructor to any instance. This will be resolved in Infinispan 5.2.0

Parameters:
factory - clazz
Returns:
this ScheduledExecutorFactoryConfig

addProperty

public ScheduledExecutorFactoryConfigurationBuilder addProperty(String key,
                                                                String value)
Add key/value property pair to this executor factory configuration

Parameters:
key - property key
value - property value
Returns:
previous value if exists, null otherwise

withProperties

public ScheduledExecutorFactoryConfigurationBuilder withProperties(Properties props)
Set key/value properties to this executor factory configuration

Parameters:
props - Properties
Returns:
this ScheduledExecutorFactoryConfig

read

public ScheduledExecutorFactoryConfigurationBuilder read(ScheduledExecutorFactoryConfiguration template)

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

getGlobalConfig

protected GlobalConfigurationBuilder getGlobalConfig()

transport

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

globalJmxStatistics

public GlobalJmxStatisticsConfigurationBuilder globalJmxStatistics()
Specified by:
globalJmxStatistics in interface GlobalConfigurationChildBuilder

serialization

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

asyncListenerExecutor

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

asyncTransportExecutor

public ExecutorFactoryConfigurationBuilder asyncTransportExecutor()
Specified by:
asyncTransportExecutor 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

build

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

-->

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