public class ScheduledExecutorFactoryConfigurationBuilder extends AbstractGlobalConfigurationBuilder implements Builder<ScheduledExecutorFactoryConfiguration>
Modifier and Type | Field and Description |
---|---|
private org.infinispan.executors.ScheduledExecutorFactory |
factory |
private java.util.Properties |
properties |
Constructor and Description |
---|
ScheduledExecutorFactoryConfigurationBuilder(GlobalConfigurationBuilder globalConfig) |
Modifier and Type | Method and Description |
---|---|
ScheduledExecutorFactoryConfigurationBuilder |
addProperty(java.lang.String key,
java.lang.String value)
Add key/value property pair to this executor factory configuration
|
ScheduledExecutorFactoryConfiguration |
create()
Create the configuration bean
|
boolean |
equals(java.lang.Object o) |
ScheduledExecutorFactoryConfigurationBuilder |
factory(org.infinispan.executors.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.
|
int |
hashCode() |
ScheduledExecutorFactoryConfigurationBuilder |
read(ScheduledExecutorFactoryConfiguration template)
Reads the configuration from an already created configuration bean into this builder.
|
java.lang.String |
toString() |
void |
validate()
Validate the data in this builder before building the configuration bean
|
ScheduledExecutorFactoryConfigurationBuilder |
withProperties(java.util.Properties props)
Set key/value properties to this executor factory configuration
|
asyncListenerExecutor, asyncTransportExecutor, build, evictionScheduledExecutor, getGlobalConfig, globalJmxStatistics, persistenceExecutor, remoteCommandsExecutor, replicationQueueScheduledExecutor, security, serialization, shutdown, site, transport
private org.infinispan.executors.ScheduledExecutorFactory factory
private java.util.Properties properties
ScheduledExecutorFactoryConfigurationBuilder(GlobalConfigurationBuilder globalConfig)
public ScheduledExecutorFactoryConfigurationBuilder factory(org.infinispan.executors.ScheduledExecutorFactory factory)
factory
- clazzpublic ScheduledExecutorFactoryConfigurationBuilder addProperty(java.lang.String key, java.lang.String value)
key
- property keyvalue
- property valuepublic ScheduledExecutorFactoryConfigurationBuilder withProperties(java.util.Properties props)
props
- Propertiespublic void validate()
Builder
validate
in interface Builder<ScheduledExecutorFactoryConfiguration>
public ScheduledExecutorFactoryConfiguration create()
Builder
create
in interface Builder<ScheduledExecutorFactoryConfiguration>
public ScheduledExecutorFactoryConfigurationBuilder read(ScheduledExecutorFactoryConfiguration template)
Builder
read
in interface Builder<ScheduledExecutorFactoryConfiguration>
template
- the configuration from which to "clone" this config if needed.public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object