|
GigaSpaces XAP 9.5 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.j_spaces.core.cluster.ReplicationFilterProvider
public class ReplicationFilterProvider
An IReplicationFilter
provider for both input and output replication
filteres. Allows, when configuring an embedded Space, to be used to inject actual instances of the
replication filters.
Constructor Summary | |
---|---|
ReplicationFilterProvider(IReplicationFilter inputFilter,
IReplicationFilter outputFilter)
Constructs a new replication filter provider with both an input filter and output filter. |
Method Summary | |
---|---|
IReplicationFilter |
getInputFilter()
Return the input replication filter. |
IReplicationFilter |
getOutputFilter()
Return the output replication filter. |
boolean |
isActiveWhenBackup()
Returns true if the filter should be active when the space is in backup mode. |
boolean |
isShutdownSpaceOnInitFailure()
Returns true if the space should shutdown on filter init failure. |
void |
setActiveWhenBackup(boolean activeWhenBackup)
true if the filter should be active when the space is in backup mode. |
void |
setShutdownSpaceOnInitFailure(boolean shutdownSpaceOnInitFailure)
true if the space should shutdown on filter init failure. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReplicationFilterProvider(IReplicationFilter inputFilter, IReplicationFilter outputFilter)
null
values indicating no replication filter
is perfomed.
inputFilter
- The input replication filter. null
value indicates no filter.outputFilter
- The output replication filter. null
value indicates no filter.Method Detail |
---|
public IReplicationFilter getInputFilter()
null
value indicates no filter.
public IReplicationFilter getOutputFilter()
null
value indicates no filter.
public boolean isActiveWhenBackup()
true
if the filter should be active when the space is in backup mode.
Default to true
.
public void setActiveWhenBackup(boolean activeWhenBackup)
true
if the filter should be active when the space is in backup mode.
Default to true
.
public boolean isShutdownSpaceOnInitFailure()
true
if the space should shutdown on filter init failure. Defaults to false
.
public void setShutdownSpaceOnInitFailure(boolean shutdownSpaceOnInitFailure)
true
if the space should shutdown on filter init failure. Defaults to false
.
|
GigaSpaces XAP 9.5 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |