Package | Description |
---|---|
com.gigaspaces.cluster.activeelection | |
com.gigaspaces.internal.lrmi.stubs | |
com.gigaspaces.internal.server.space | |
com.gigaspaces.internal.server.space.demote | |
com.gigaspaces.internal.server.space.events | |
com.gigaspaces.internal.server.space.recovery | |
com.gigaspaces.internal.server.space.recovery.direct_persistency | |
com.j_spaces.core.admin |
Provides GigaSpaces administration services
|
org.openspaces.admin.internal.space |
Internally Used.
|
org.openspaces.admin.space |
Support for managing of Space(s) through the Admin API.
|
org.openspaces.admin.space.events |
Support for managing of Space events through the Admin API.
|
org.openspaces.core.space.mode |
A package exposing Space mode (primary/backup) events through Spring application event
support.
|
org.openspaces.core.space.status | |
org.openspaces.pu.container.servicegrid |
A Service Grid based processing unit container.
|
Modifier and Type | Field and Description |
---|---|
protected SpaceMode |
LeaderSelectorHandler._spaceMode |
Modifier and Type | Method and Description |
---|---|
SpaceMode |
LeaderSelectorHandler.getSpaceMode() |
SpaceMode |
SpaceComponentManager.getSpaceMode() |
static SpaceMode |
SpaceMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpaceMode[] |
SpaceMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected void |
LeaderSelectorHandler.afterSpaceModeChange(SpaceMode newMode)
Notify the listeners about the event
|
void |
ISpaceModeListener.afterSpaceModeChange(SpaceMode newMode)
Called right after the space mode changes.
|
void |
SpaceComponentManager.afterSpaceModeChange(SpaceMode newMode) |
protected void |
LeaderSelectorHandler.beforeSpaceModeChange(SpaceMode newMode)
Notify the listeners about the event
|
void |
ISpaceModeListener.beforeSpaceModeChange(SpaceMode newMode)
Called right before the space mode changes.
Implementors usually use it to allow specific service initializations. |
void |
SpaceComponentManager.beforeSpaceModeChange(SpaceMode newMode) |
boolean |
LeaderSelectorHandler.compareAndRegister(SpaceMode spaceMode,
ISpaceModeListener listener)
Checks if space mode equals given mode.
|
protected void |
LeaderSelectorHandler.dispatchBeforeEventToRemoteListeners(Queue<ISpaceModeListener> remoteListeners,
SpaceMode newMode) |
void |
LeaderSelectorHandler.setSpaceMode(SpaceMode spaceMode) |
void |
SpaceComponentManager.setSpaceMode(SpaceMode spaceMode) |
Modifier and Type | Method and Description |
---|---|
SpaceMode |
LRMISpaceImpl.addSpaceModeListener(ISpaceModeListener listener) |
SpaceMode |
LRMISpaceImpl.getSpaceMode() |
Modifier and Type | Method and Description |
---|---|
SpaceMode |
SpaceImpl.addSpaceModeListener(ISpaceModeListener listener) |
SpaceMode |
SpaceImpl.getSpaceMode() |
Modifier and Type | Method and Description |
---|---|
void |
SpaceEngine.afterSpaceModeChange(SpaceMode newMode) |
void |
CompositeSpaceModeListener.afterSpaceModeChange(SpaceMode newMode) |
void |
SpaceEngine.beforeSpaceModeChange(SpaceMode newMode) |
void |
CompositeSpaceModeListener.beforeSpaceModeChange(SpaceMode newMode) |
Modifier and Type | Method and Description |
---|---|
void |
DemoteHandler.afterSpaceModeChange(SpaceMode newMode) |
void |
DemoteHandler.beforeSpaceModeChange(SpaceMode newMode) |
Modifier and Type | Method and Description |
---|---|
void |
SpaceDataEventManager.afterSpaceModeChange(SpaceMode newMode) |
void |
SpaceDataEventManager.beforeSpaceModeChange(SpaceMode newMode) |
Modifier and Type | Method and Description |
---|---|
SpaceRecoverStrategy |
RecoveryManager.getRecoveryStrategy(SpaceMode spaceMode) |
Modifier and Type | Method and Description |
---|---|
void |
DirectPersistencyRecoveryHelper.afterSpaceModeChange(SpaceMode newMode) |
void |
DirectPersistencyRecoveryHelper.beforeSpaceModeChange(SpaceMode newMode) |
Modifier and Type | Method and Description |
---|---|
SpaceMode |
IInternalRemoteJSpaceAdmin.addSpaceModeListener(ISpaceModeListener listener)
Adds a listener to be called back with
ISpaceModeListener mode changes. |
SpaceMode |
JSpaceAdminProxy.addSpaceModeListener(ISpaceModeListener listener) |
SpaceMode |
JSpaceAdminImpl.addSpaceModeListener(ISpaceModeListener listener) |
SpaceMode |
RuntimeHolder.getSpaceMode() |
SpaceMode |
IInternalRemoteJSpaceAdmin.getSpaceMode()
Get the current
SpaceMode which represents the current state of this participant in
the election process. |
SpaceMode |
JSpaceAdminProxy.getSpaceMode() |
SpaceMode |
JSpaceAdminImpl.getSpaceMode() |
Constructor and Description |
---|
RuntimeHolder(SpaceMode spaceMode,
Object[] replicationStatus,
int spaceState,
SuspendInfo suspendInfo) |
Modifier and Type | Method and Description |
---|---|
SpaceMode |
DefaultSpaceInstance.getMode() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultSpaceInstance.setMode(SpaceMode spaceMode) |
void |
InternalSpaceInstance.setMode(SpaceMode spaceMode) |
boolean |
DefaultSpace.waitFor(int numberOfSpaceInstances,
SpaceMode spaceMode) |
boolean |
DefaultSpace.waitFor(int numberOfSpaceInstances,
SpaceMode spaceMode,
long timeout,
TimeUnit timeUnit) |
boolean |
DefaultSpacePartition.waitFor(SpaceMode spaceMode) |
boolean |
DefaultSpacePartition.waitFor(SpaceMode spaceMode,
long timeout,
TimeUnit timeUnit) |
boolean |
DefaultSpaceInstance.waitForMode(SpaceMode requiredMode,
long timeout,
TimeUnit timeUnit) |
Modifier and Type | Method and Description |
---|---|
SpaceMode |
SpaceInstance.getMode()
Returns the space mode, indicating if the space is primary or backup.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Space.waitFor(int numberOfSpaceInstances,
SpaceMode spaceMode)
Waits till at least the provided number of Space Instances that are of the space mode type
are up.
|
boolean |
Space.waitFor(int numberOfSpaceInstances,
SpaceMode spaceMode,
long timeout,
TimeUnit timeUnit)
Waits till at least the provided number of Space Instances are of the space mode type are up
for the specified timeout.
|
boolean |
SpacePartition.waitFor(SpaceMode spaceMode)
Waits (default timeout) till one of the Space partition instances has the provided space mode.
|
boolean |
SpacePartition.waitFor(SpaceMode spaceMode,
long timeout,
TimeUnit timeUnit)
Waits (given timeout) till one of the Space partition instances has the provided space mode.
|
boolean |
SpaceInstance.waitForMode(SpaceMode requiredMode,
long timeout,
TimeUnit timeUnit)
Waits for the space instance to move to the provided space mode.
|
Modifier and Type | Method and Description |
---|---|
SpaceMode |
SpaceModeChangedEvent.getNewMode()
Returns the new space mode.
|
SpaceMode |
SpaceModeChangedEvent.getPreviousMode()
Returns the previous space mode.
|
Constructor and Description |
---|
SpaceModeChangedEvent(SpaceInstance spaceInstance,
SpaceMode previousSpaceMode,
SpaceMode newSpaceMode) |
Modifier and Type | Method and Description |
---|---|
SpaceMode |
AbstractSpaceModeChangeEvent.getSpaceMode() |
Constructor and Description |
---|
AbstractSpaceModeChangeEvent(IJSpace space,
SpaceMode spaceMode)
Creates a new Space mode event.
|
AfterSpaceModeChangeEvent(IJSpace space,
SpaceMode spaceMode)
Creates a new after space mode event.
|
BeforeSpaceModeChangeEvent(IJSpace space,
SpaceMode spaceMode)
Creates a new before space mode event.
|
Modifier and Type | Method and Description |
---|---|
SpaceMode |
SpaceStatusChangedEvent.getSpaceMode() |
Constructor and Description |
---|
SpaceStatusChangedEvent(IJSpace space,
SuspendType suspendType,
SpaceMode spaceMode)
Creates a new Space status changed event that occurred when a space change his
SuspendType or SpaceMode |
Modifier and Type | Method and Description |
---|---|
SpaceMode[] |
PUServiceBeanProxy.listSpacesModes() |
SpaceMode[] |
PUServiceBeanImpl.listSpacesModes() |
SpaceMode[] |
PUServiceBean.listSpacesModes() |
Copyright © GigaSpaces.