Interface DistributedBrokerFactory

    • Method Detail

      • addSlice

        Slice addSlice​(java.lang.String name,
                       java.util.Map properties)
        Adds the given slice with the given properties. This newly added slice will be configured to brokers constructed by this factory after this call.
        Parameters:
        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.
        See Also:
        DistributedConfiguration.getAvailableSliceNames(), DistributedConfiguration#addSlice(String, Map)