public interface DistributedBrokerFactory extends BrokerFactory
Modifier and Type | Method and Description |
---|---|
Slice |
addSlice(String name,
Map properties)
Adds the given slice with the given properties.
|
addLifecycleListener, addTransactionListener, assertOpen, close, getConfiguration, getProperties, getSupportedProperties, getUserObject, isClosed, lock, newBroker, newBroker, newBroker, postCreationCallback, putUserObject, removeLifecycleListener, removeTransactionListener, unlock
Slice addSlice(String name, Map properties)
name
- logical name of the to be added slice. Must be different from
any currently available slices.properties
- key-value pair of configuration for the slice to be
added. The keys must have openjpa.slice.<name>.* as prefix.DistributedConfiguration.getAvailableSliceNames()
,
DistributedConfiguration#addSlice(String, Map)
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.