|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SimpleStrategyMBean
Standard MBean interface that exposes management attributes and operations for a SimpleAssignmentStrategy
used by a PartitionedService
.
Each PartitionedService
registers a single instance of this MBean bound to a JMX name of the form: "Coherence:type=PartitionAssignment,service={ServiceName},responsibility=DistributionCoordinator"
The MBean is attached to a single instance of PartitionAssignmentStrategy
object, which exists on the member that is the distribution coordinator for the service. The associated MBean will not be explicitly unregistered, but its name will be rebound to a new MBean instance if and when a different service member becomes the distribution coordinator.
Field Summary | |
---|---|
static java.lang.String |
NOTIFY_LOST Notification type for a "partitions are lost and needs to be recovered" event. |
Method Summary | |
---|---|
int |
getBackupCount() Get the configured number of backups. |
int |
getCoordinatorId() Get the node id of the ownership distribution coordinator. |
int |
getFairShareBackup() Get the number of backup partitions per storage-enabled service member that this strategy will currently attempt to maintain. |
int |
getFairSharePrimary() Get the number of primary partitions per storage-enabled service member that this strategy will currently attempt to maintain. |
java.lang.String |
getHAStatus() The High Availability status for the service. |
java.lang.String |
getHATarget() The High Availability status that this strategy attempts to achieve. |
java.util.Date |
getLastAnalysisTime() Get the last time a partition distribution analysis was performed. |
int |
getPartitionCount() Get the configured number of partitions for the service. |
int |
getRemainingDistributionCount() Get the number of distributions (partition transfers) that remain to be completed before the service achieves the goals set by this strategy. |
int |
getServiceMachineCount() Get the number of machines that host storage-enabled nodes running this service. |
int |
getServiceNodeCount() Get the number of storage-enabled nodes running this service. |
int |
getServiceRackCount() Get the number of racks that host storage-enabled nodes running this service. |
int |
getServiceSiteCount() Get the number of sites that host storage-enabled nodes running this service. |
java.lang.String |
getStrategyName() Get name of the PartitionAssignmentStrategy in use. |
java.lang.String |
reportScheduledDistributions(boolean fVerbose) Report partitions that storage-enabled members are waiting to receive or still need to send in order to achieve distribution goal set by the strategy. |
Field Detail |
---|
static final java.lang.String NOTIFY_LOST
Method Detail |
---|
java.lang.String getStrategyName()
java.util.Date getLastAnalysisTime()
int getCoordinatorId()
int getPartitionCount()
int getBackupCount()
int getServiceNodeCount()
int getServiceMachineCount()
int getServiceRackCount()
int getServiceSiteCount()
java.lang.String getHAStatus()
java.lang.String getHATarget()
int getFairShareBackup()
int getFairSharePrimary()
int getRemainingDistributionCount()
java.lang.String reportScheduledDistributions(boolean fVerbose)
fVerbose
- if true, the report includes partition numbers for each scheduled transfer
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |