|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openspaces.events.notify.SimpleNotifyContainerConfigurer
public class SimpleNotifyContainerConfigurer
A simplified programmatic configuration that for SimpleNotifyEventListenerContainer
.
Sample usage:
UrlSpaceConfigurer urlSpaceConfigurerPrimary = new UrlSpaceConfigurer("/./space");
GigaSpace gigaSpace = new GigaSpaceConfigurer(urlSpaceConfigurerPrimary.space()).gigaSpace();
SimpleNotifyEventListenerContainer notifyEventListenerContainer = new SimpleNotifyContainerConfigurer(gigaSpace)
.template(new TestMessage())
.eventListenerAnnotation(new Object() {
@SpaceDataEvent
public void gotMeselfAnEvent() {
// do something
}
}).notifyContainer();
...
notifyEventListenerContainer.destroy();
urlSpaceConfigurerPrimary.destroy();
Constructor Summary | |
---|---|
SimpleNotifyContainerConfigurer(GigaSpace gigaSpace)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleNotifyContainerConfigurer(GigaSpace gigaSpace)
Method Detail |
---|
public SimpleNotifyContainerConfigurer name(String name)
public SimpleNotifyContainerConfigurer performTakeOnNotify(boolean performTakeOnNotify)
SimpleNotifyEventListenerContainer.setPerformTakeOnNotify(boolean)
public SimpleNotifyContainerConfigurer ignoreEventOnNullTake(boolean ignoreEventOnNullTake)
SimpleNotifyEventListenerContainer.setIgnoreEventOnNullTake(boolean)
@Deprecated public SimpleNotifyContainerConfigurer comType(int comType)
AbstractNotifyEventListenerContainer.setComType(int)
public SimpleNotifyContainerConfigurer fifo(boolean fifo)
AbstractNotifyEventListenerContainer.setFifo(boolean)
public SimpleNotifyContainerConfigurer passArrayAsIs(boolean passArrayAsIs)
AbstractNotifyEventListenerContainer.setPassArrayAsIs(boolean)
public SimpleNotifyContainerConfigurer batchSize(Integer batchSize)
AbstractNotifyEventListenerContainer.setBatchSize(Integer)
public SimpleNotifyContainerConfigurer batchTime(Integer batchTime)
AbstractNotifyEventListenerContainer.setBatchTime(Integer)
public SimpleNotifyContainerConfigurer batchPendingThreshold(Integer batchPendingThreshold)
AbstractNotifyEventListenerContainer.setBatchPendingThreshold(Integer)
public SimpleNotifyContainerConfigurer autoRenew(boolean autoRenew)
AbstractNotifyEventListenerContainer.setAutoRenew(boolean)
@Deprecated public SimpleNotifyContainerConfigurer renewExpiration(long renewExpiration)
AbstractNotifyEventListenerContainer.setRenewExpiration(long)
@Deprecated public SimpleNotifyContainerConfigurer renewDuration(long renewDuration)
AbstractNotifyEventListenerContainer.setRenewDuration(long)
@Deprecated public SimpleNotifyContainerConfigurer renewRTT(long renewRTT)
AbstractNotifyEventListenerContainer.setRenewRTT(long)
public SimpleNotifyContainerConfigurer leaseListener(LeaseListener leaseListener)
AbstractNotifyEventListenerContainer.setLeaseListener(net.jini.lease.LeaseListener)
public SimpleNotifyContainerConfigurer template(Object template)
AbstractTemplateEventListenerContainer.setTemplate(Object)
public SimpleNotifyContainerConfigurer performSnapshot(boolean performSnapshot)
AbstractTemplateEventListenerContainer.setPerformSnapshot(boolean)
@Deprecated public SimpleNotifyContainerConfigurer listenerLease(long listenerLease)
AbstractNotifyEventListenerContainer.setListenerLease(long)
public SimpleNotifyContainerConfigurer notifyFilter(INotifyDelegatorFilter notifyFilter)
AbstractNotifyEventListenerContainer.setNotifyFilter(com.j_spaces.core.client.INotifyDelegatorFilter)
public SimpleNotifyContainerConfigurer notifyWrite(boolean notifyWrite)
AbstractNotifyEventListenerContainer.setNotifyWrite(Boolean)
public SimpleNotifyContainerConfigurer notifyUpdate(boolean notifyUpdate)
AbstractNotifyEventListenerContainer.setNotifyUpdate(Boolean)
public SimpleNotifyContainerConfigurer notifyTake(boolean notifyTake)
AbstractNotifyEventListenerContainer.setNotifyTake(Boolean)
public SimpleNotifyContainerConfigurer notifyAll(boolean notifyAll)
AbstractNotifyEventListenerContainer.setNotifyAll(Boolean)
public SimpleNotifyContainerConfigurer notifyUnmatched(boolean notifyUnmatched)
AbstractNotifyEventListenerContainer.setNotifyUnmatched(Boolean)
public SimpleNotifyContainerConfigurer notifyMatchedUpdate(boolean notifyMatched)
AbstractNotifyEventListenerContainer.setNotifyMatchedUpdate(Boolean)
public SimpleNotifyContainerConfigurer notifyRematchedUpdate(boolean notifyRematched)
AbstractNotifyEventListenerContainer.setNotifyRematchedUpdate(Boolean)
public SimpleNotifyContainerConfigurer notifyLeaseExpire(boolean notifyLeaseExpire)
AbstractNotifyEventListenerContainer.setNotifyLeaseExpire(Boolean)
@Deprecated public SimpleNotifyContainerConfigurer guaranteed(boolean guaranteed)
durable(boolean)
instead.
AbstractNotifyEventListenerContainer.setGuaranteed(Boolean)
public SimpleNotifyContainerConfigurer durable(boolean durable)
AbstractNotifyEventListenerContainer.setDurable(Boolean)
public SimpleNotifyContainerConfigurer triggerNotifyTemplate(boolean triggerNotifyTemplate)
AbstractNotifyEventListenerContainer.setTriggerNotifyTemplate(boolean)
public SimpleNotifyContainerConfigurer replicateNotifyTemplate(boolean replicateNotifyTemplate)
AbstractNotifyEventListenerContainer.setReplicateNotifyTemplate(boolean)
public SimpleNotifyContainerConfigurer transactionManager(PlatformTransactionManager transactionManager)
AbstractTransactionalEventListenerContainer.setTransactionManager(org.springframework.transaction.PlatformTransactionManager)
public SimpleNotifyContainerConfigurer transactionName(String transactionName)
AbstractTransactionalEventListenerContainer.setTransactionName(String)
public SimpleNotifyContainerConfigurer transactionTimeout(int transactionTimeout)
AbstractTransactionalEventListenerContainer.setTransactionTimeout(int)
public SimpleNotifyContainerConfigurer transactionIsolationLevel(int transactionIsolationLevel)
AbstractTransactionalEventListenerContainer.setTransactionIsolationLevel(int)
public SimpleNotifyContainerConfigurer exceptionHandler(EventExceptionHandler exceptionHandler)
AbstractEventListenerContainer.setExceptionHandler(org.openspaces.events.EventExceptionHandler)
public SimpleNotifyContainerConfigurer eventListener(SpaceDataEventListener eventListener)
AbstractEventListenerContainer.setEventListener(org.openspaces.events.SpaceDataEventListener)
public SimpleNotifyContainerConfigurer eventListenerAnnotation(Object eventListener)
AbstractEventListenerContainer.setEventListener(org.openspaces.events.SpaceDataEventListener)
,
AnnotationEventListenerAdapter
public SimpleNotifyContainerConfigurer eventListenerMethod(Object eventListener, String methodName)
AbstractEventListenerContainer.setEventListener(org.openspaces.events.SpaceDataEventListener)
,
MethodEventListenerAdapter
public SimpleNotifyContainerConfigurer activeWhenPrimary(boolean activeWhenPrimary)
AbstractSpaceListeningContainer.setActiveWhenPrimary(boolean)
public SimpleNotifyContainerConfigurer autoStart(boolean autoStart)
AbstractSpaceListeningContainer.setAutoStart(boolean)
public SimpleNotifyEventListenerContainer create()
SimpleNotifyEventListenerContainer
instance.
public SimpleNotifyEventListenerContainer notifyContainer()
SimpleNotifyEventListenerContainer
instance.
create()
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |