|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
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 | |
---|---|
abstract int |
getAdditionalMigrationAttempts() A migratable service could fail to come up on every possible configured server. |
abstract ServerMBean |
getHostingServer() Returns the name of the server that currently hosts the singleton service. |
abstract int |
getMillisToSleepBetweenAttempts() Controls how long of a pause there should be between the migration attempts described in getAdditionalMigrationAttempts(). |
abstract ServerMBean |
getUserPreferredServer() Returns the server that the user prefers the singleton service to be active on. |
abstract void |
setAdditionalMigrationAttempts(int attempts) |
abstract void |
setMillisToSleepBetweenAttempts(int millis) |
abstract 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, 2015, 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.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |