public class GSAInvalidatorService extends GenericRMIService implements atg.adapter.gsa.invalidator.GSAInvalidator, MessageSource
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | CLASS_VERSIONClass version string | 
| protected static java.lang.String | INVALIDATOR_JMSTYPESystem property defining the JMS Type & port of the messages sent for cache invalidation | 
| protected static java.lang.String | INVALIDATOR_PORT | 
SERVICE_INFO_KEYDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description | 
|---|
| GSAInvalidatorService()GenericRMIService constructors must be able to throw RemoteExceptions. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | getActive()Retrieve the active flag, which indicates if this component can
 send messages. | 
| boolean | getEnabled()Retrieve the enabled flag, which indicates if this component can
 send messages, as long as the active flag is also true. | 
| int | getMaxItemsPerEvent() | 
| MessageSourceContext | getMessageSourceContext()Gets the messageSourceContext for this MessageSource. | 
| int | getNumCompressedEventsSent() | 
| int | getNumEventsSent() | 
| java.lang.String | getServerId()Returns the unique id to be used for tagging events in this server | 
| atg.service.ServerName | getServerName() | 
| void | invalidate(atg.adapter.gsa.invalidator.MultiTypeInvalidationMessage pInfoMessage)Invalidator interface remote method which receives a
 MultiTypeInvalidationMessage 
 from local or RMI clients, and emits a JMS Message containing a
 this MultiTypeInvalidationMessage object. | 
| void | invalidate(java.lang.String pRepositoryName,
          java.lang.String pItemDescriptorName,
          java.lang.String pItemId)Invalidator interface remote method which receives invalidate events
 from RMI clients, and emits a JMS Message containing a
 GSAInvalidationMessage object. | 
| void | setActive(boolean pActive)Set the active flag, indicating this component can send messages. | 
| void | setEnabled(boolean pEnabled)Set the enabled flag, which has to be set along with the active flag for this
 component to send messages. | 
| void | setMaxItemsPerEvent(int pMaxItemsPerEvent)Sets the property MaxItemsPerEvent. | 
| void | setMessageSourceContext(MessageSourceContext pContext)MessageSource interface method to set the MessageSourceContext
 for this MessageSource. | 
| void | setNumCompressedEventsSent(int pNumCompressedEventsSent)Sets the property NumCompressedEventsSent. | 
| void | setNumEventsSent(int pNumEventsSent)Sets the property NumEventsSent. | 
| void | setServerName(atg.service.ServerName pServerName)Sets the property ServerName. | 
| void | startMessageSource()MessageSource interface method to signal this MessageSource that it
 is now legal to emit messages. | 
| void | stopMessageSource()MessageSource interface method to signal this MessageSource that it
 is no longer legal to emit messages. | 
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRef, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopServicevlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic static java.lang.String CLASS_VERSION
protected static final java.lang.String INVALIDATOR_JMSTYPE
protected static final java.lang.String INVALIDATOR_PORT
public GSAInvalidatorService()
                      throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void setMaxItemsPerEvent(int pMaxItemsPerEvent)
pMaxItemsPerEvent - new value to setpublic int getMaxItemsPerEvent()
public void setNumEventsSent(int pNumEventsSent)
pNumEventsSent - new value to setpublic int getNumEventsSent()
public void setNumCompressedEventsSent(int pNumCompressedEventsSent)
pNumCompressedEventsSent - new value to setpublic int getNumCompressedEventsSent()
public void setMessageSourceContext(MessageSourceContext pContext)
setMessageSourceContext in interface MessageSourcepublic MessageSourceContext getMessageSourceContext()
public void setActive(boolean pActive)
pActive - Boolean that indicates whether GSA Cache invalidation service is ready or notpublic boolean getActive()
public void setEnabled(boolean pEnabled)
pEnabled - Boolean that enables (TRUE) or disables (FALSE) GSA Cache invalidation via JMSpublic boolean getEnabled()
public void setServerName(atg.service.ServerName pServerName)
pServerName - new value to setpublic atg.service.ServerName getServerName()
public java.lang.String getServerId()
public void startMessageSource()
startMessageSource in interface MessageSourcepublic void stopMessageSource()
stopMessageSource in interface MessageSourcepublic void invalidate(java.lang.String pRepositoryName,
              java.lang.String pItemDescriptorName,
              java.lang.String pItemId)
                throws java.rmi.RemoteException
invalidate in interface atg.adapter.gsa.invalidator.GSAInvalidatorpRepositoryName - Name of repository to invalidatepItemDescriptorName - Name of item descriptor type to invalidatepItemId - Item ID of specific item to invalidate via distributed dynamo
   repository facilityjava.rmi.RemoteException - Nothing thrown in this versionpublic void invalidate(atg.adapter.gsa.invalidator.MultiTypeInvalidationMessage pInfoMessage)
                throws java.rmi.RemoteException
pMessage - The MultiTypeInvalidationMessage to sendjava.rmi.RemoteException - Nothing thrown in this version