GigaSpaces XAP 7.0 API

org.openspaces.events.polling
Class PollingEventContainerServiceDetails

java.lang.Object
  extended by org.openspaces.pu.service.PlainServiceDetails
      extended by org.openspaces.events.EventContainerServiceDetails
          extended by org.openspaces.events.polling.PollingEventContainerServiceDetails
All Implemented Interfaces:
Externalizable, Serializable, ServiceDetails

public class PollingEventContainerServiceDetails
extends EventContainerServiceDetails

Polling container service details.

Author:
kimchy
See Also:
Serialized Form

Nested Class Summary
static class PollingEventContainerServiceDetails.Attributes
           
 
Field Summary
static String SERVICE_SUB_TYPE
           
 
Fields inherited from class org.openspaces.events.EventContainerServiceDetails
SERVICE_TYPE
 
Fields inherited from class org.openspaces.pu.service.PlainServiceDetails
attributes, description, id, longDescription, serviceSubType, serviceType
 
Constructor Summary
PollingEventContainerServiceDetails()
           
PollingEventContainerServiceDetails(String id, String gigaSpace, Object template, boolean performSnapshot, String transactionManager, long receiveTimeout, String receiveOperationHandler, String triggerOperationHandler, int concurrentConsumers, int maxConcurrentConsumers, boolean passArrayAsIs)
           
 
Method Summary
 AggregatedServiceDetails aggregateById(ServiceDetails[] servicesDetails)
           
 AggregatedServiceDetails aggregateByServiceSubType(ServiceDetails[] servicesDetails)
           
 int getConcurrentConsumers()
           
 int getMaxConcurrentConsumers()
           
 String getReceiveOperationHandler()
           
 long getReceiveTimeout()
           
 String getTriggerOperationHandler()
           
 boolean isPassArrayAsIs()
           
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class org.openspaces.events.EventContainerServiceDetails
getGigaSpace, getTemplate, getTransactionManager, isPerformSnapshot, isTransactional
 
Methods inherited from class org.openspaces.pu.service.PlainServiceDetails
aggregateByServiceType, getAttributes, getDescription, getId, getLongDescription, getServiceSubType, getServiceType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SERVICE_SUB_TYPE

public static final String SERVICE_SUB_TYPE
See Also:
Constant Field Values
Constructor Detail

PollingEventContainerServiceDetails

public PollingEventContainerServiceDetails()

PollingEventContainerServiceDetails

public PollingEventContainerServiceDetails(String id,
                                           String gigaSpace,
                                           Object template,
                                           boolean performSnapshot,
                                           String transactionManager,
                                           long receiveTimeout,
                                           String receiveOperationHandler,
                                           String triggerOperationHandler,
                                           int concurrentConsumers,
                                           int maxConcurrentConsumers,
                                           boolean passArrayAsIs)
Method Detail

getReceiveTimeout

public long getReceiveTimeout()

getReceiveOperationHandler

public String getReceiveOperationHandler()

getTriggerOperationHandler

public String getTriggerOperationHandler()

getConcurrentConsumers

public int getConcurrentConsumers()

getMaxConcurrentConsumers

public int getMaxConcurrentConsumers()

isPassArrayAsIs

public boolean isPassArrayAsIs()

aggregateByServiceSubType

public AggregatedServiceDetails aggregateByServiceSubType(ServiceDetails[] servicesDetails)
Overrides:
aggregateByServiceSubType in class PlainServiceDetails

aggregateById

public AggregatedServiceDetails aggregateById(ServiceDetails[] servicesDetails)
Overrides:
aggregateById in class PlainServiceDetails

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class EventContainerServiceDetails
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class EventContainerServiceDetails
Throws:
IOException
ClassNotFoundException

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.