Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.management.configuration
Interface ReplicatedStoreMBean

All Superinterfaces:
ConfigurationMBean, DeploymentMBean, DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, PersistentStoreMBean, SettableBean, WebLogicMBean

public interface ReplicatedStoreMBean
extends PersistentStoreMBean

Defines an instance of a Replicated Store. A WebLogic Replicated Store is a high performance storage option for Exalogic hosted Weblogic Messaging Services and is an alternative to WebLogic Server\x92s File and JDBC persistent storage options. Replicated stores depend on Exalogic replicated memory that is managed by a separately administered Daemon Cluster that must be started before a WebLogic Replicated Store can boot. See Using the WebLogic Replicated Store in Administering WebLogic Server for Oracle Exalogic Elastic Cloud. This feature should be used only in Oracle Exalogic Elastic Cloud environments.


Field Summary
 
Fields inherited from interface weblogic.management.configuration.DeploymentMBean
DEFAULT_ORDER, MAX_ORDER, MIN_ORDER
 
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY
 
Method Summary
 String getDirectory()
          Specifies the path of the Replicated Store Global Directory.
 int getIoBufferSize()
          The I/O buffer size, in bytes, automatically rounded down to the nearest power of 2.
 int getLocalIndex()
          Specifies a local Daemon to attach to when a Daemon Cluster has multiple Daemons configured to run on the current node.
 int getRegionSize()
          The region size, in bytes.
 void setDirectory(String directory)
          Sets the value of the Directory attribute.
 void setIoBufferSize(int ioBufferSize)
          Sets the value of the IOBufferSize attribute.
 void setLocalIndex(int localIndex)
          Sets the value of the LocalIndex attribute.
 void setRegionSize(int regionSize)
          Sets the value of the RegionSize attribute.
 
Methods inherited from interface weblogic.management.configuration.PersistentStoreMBean
addTarget, getLogicalName, getTargets, getXAResourceName, removeTarget, setLogicalName, setTargets
 
Methods inherited from interface weblogic.management.configuration.DeploymentMBean
getDeploymentOrder, setDeploymentOrder
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 
Methods inherited from interface weblogic.descriptor.DescriptorBean
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
 

Method Detail

getDirectory

String getDirectory()

Specifies the path of the Replicated Store Global Directory.

This must be the same directory that is used to store the Daemon Cluster rs_daemons.cfg configuration file and requires a specially tuned NFS mount. Oracle recommends using an absolute directory path on a shared NFS mount.

Returns:
The directory value

setDirectory

void setDirectory(String directory)
                  throws InvalidAttributeValueException

Sets the value of the Directory attribute. See getDirectory for more help.

Parameters:
directory - The new directory value
Throws:
InvalidAttributeValueException
See Also:
ReplicatedStoreMBean.getDirectory()
This method can NOT set a null value.
This method can NOT set a value of zero length.

getLocalIndex

int getLocalIndex()

Specifies a local Daemon to attach to when a Daemon Cluster has multiple Daemons configured to run on the current node.

The local Daemon is chosen using the formula: ((localindex) modulo (number-of-local-daemons)). When 0, it always resolves to the first available Daemon entry in the rs_daemons.cfg file that has an address on the current node. The default value is 0.

This setting is not applicable to production environments. To ensure high availability, a Daemon Cluster in a production environment should have multiple nodes with one Daemon on each node.

Returns:
The LocalIndex value

setLocalIndex

void setLocalIndex(int localIndex)

Sets the value of the LocalIndex attribute. See getLocalIndex for more detailed help.

Parameters:
localIndex - The new LocalIndex value
Throws:
InvalidAttributeValueException
See Also:
ReplicatedStoreMBean.getLocalIndex()
Default Value:
0
Maximum Value:
65535
Minimum Value:
-1

getRegionSize

int getRegionSize()

The region size, in bytes.

Data is stored in one or more uniquely named Regions within a Daemon Cluster where each region is created with this size. Oracle recommends that regions sizes should be tuned to be a small fraction of the available local Daemon memory.

Returns:
The RegionSize value

setRegionSize

void setRegionSize(int regionSize)

Sets the value of the RegionSize attribute. See getRegionSize for more detailed help.

Parameters:
regionSize - The new RegionSize value
Throws:
InvalidAttributeValueException
See Also:
ReplicatedStoreMBean.getRegionSize()
Default Value:
134217728
Maximum Value:
1073741824
Minimum Value:
33554432

getIoBufferSize

int getIoBufferSize()

The I/O buffer size, in bytes, automatically rounded down to the nearest power of 2.

Returns:
The IoBufferSize value

setIoBufferSize

void setIoBufferSize(int ioBufferSize)

Sets the value of the IOBufferSize attribute. See getIoBufferSize for more information.

Parameters:
ioBufferSize - The new IOBufferSize value
Throws:
InvalidAttributeValueException
See Also:
ReplicatedStoreMBean.getIoBufferSize()
Default Value:
-1
Maximum Value:
67108864
Minimum Value:
-1

Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02