|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SingletonServiceBaseMBean
A service that will be automatically maintained as a Singleton in a cluster. There will always be exactly one instance of it active at any given time.
TargetMBean
,
SingletonServiceMBean
,
SingletonServiceAppScopedMBean
Field Summary |
---|
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
---|---|
int |
getAdditionalMigrationAttempts()
A migratable service could fail to come up on every possible configured server. |
ServerMBean |
getHostingServer()
Returns the name of the server that currently hosts the singleton service. |
int |
getMillisToSleepBetweenAttempts()
Controls how long of a pause there should be between the migration attempts described in getAdditionalMigrationAttempts(). |
ServerMBean |
getUserPreferredServer()
Returns the server that the user prefers the singleton service to be active on. |
void |
setAdditionalMigrationAttempts(int attempts)
|
void |
setMillisToSleepBetweenAttempts(int millis)
|
void |
setUserPreferredServer(ServerMBean t)
|
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 |
---|
ServerMBean getHostingServer()
Returns the name of the server that currently hosts the singleton service.
ServerMBean getUserPreferredServer()
Returns the server that the user prefers the singleton service to be active on.
void setUserPreferredServer(ServerMBean t)
t
- The new UserPreferredServer valueint getAdditionalMigrationAttempts()
void setAdditionalMigrationAttempts(int attempts)
attempts
- number of additional attemptsSingletonServiceBaseMBean.getAdditionalMigrationAttempts()
int getMillisToSleepBetweenAttempts()
void setMillisToSleepBetweenAttempts(int millis)
millis
- how long to pause, in millisSingletonServiceBaseMBean.getMillisToSleepBetweenAttempts()
|
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 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |