Uses of Interface
com.attivio.sdk.esb.PlatformMessage
-
Packages that use PlatformMessage Package Description com.attivio.client Contains the Client Attivio API for adding content, submitting queries, and sending general purpose messages to an Attivio server.com.attivio.client.streaming Contains client code for streaming search results.com.attivio.platform.service com.attivio.sdk.admin Contains classes that represent administrative messages that flow between components and Attivio Servers.com.attivio.sdk.connector com.attivio.sdk.esb com.attivio.sdk.ingest com.attivio.sdk.scanner com.attivio.sdk.search com.attivio.sdk.security com.attivio.sdk.server.component Interfaces necessary to write components for the AIE system.com.attivio.sdk.server.component.ingest Interfaces for all ingest related transformers and associated dependencies of those transformers.com.attivio.sdk.service com.attivio.sdk.test com.attivio.sdk.transport com.attivio.service com.attivio.sysstate com.attivio.transport com.attivio.util Contains utility classes and methods used across the Attivio code base.com.attivio.util.ft com.attivio.util.serialization Contains classes related to serialization/desearialization of objects to/from XML. -
-
Uses of PlatformMessage in com.attivio.client
Methods in com.attivio.client that return PlatformMessage Modifier and Type Method Description protected PlatformMessageAbstractReceiverClient. handleServerReset(PlatformMessage msg, AttivioException ae)Called when the client has detected a server reset.PlatformMessageAbstractReceiverClient.ClientMessageSender. send(PlatformMessage msg, java.lang.String uri, boolean allowNullResponse)protected PlatformMessageAbstractReceiverClient. sendMessage(PlatformMessage msg)Sends a synchronous message to Attivio via the configured nodeAbstractReceiverClient.getReceiverUri().protected PlatformMessageAbstractReceiverClient. sendMessage(PlatformMessage msg, boolean allowNullResponse)Sends a synchronous message to Attivio via the configured nodeAbstractReceiverClient.getReceiverUri().PlatformMessageMessageForwardingClient. sendMessage(java.lang.String componentName, PlatformMessage msg)Sends a message to a component name synchronously.Methods in com.attivio.client with parameters of type PlatformMessage Modifier and Type Method Description intContentFeeder. determineMessageSize(PlatformMessage msg)voidAbstractReceiverClient.ClientMessageSender. dispatch(PlatformMessage msg, java.lang.String uri)abstract java.lang.StringAbstractSearchClient. endpoint(PlatformMessage pm)Determine the destination endpoint (local or remote) based on the messagevoidIngestMessageListener. handleSend(PlatformMessage message)voidIngestMessageListener. handleSendFailure(PlatformMessage message, AttivioException ae)protected PlatformMessageAbstractReceiverClient. handleServerReset(PlatformMessage msg, AttivioException ae)Called when the client has detected a server reset.MessageListMessageForwardingClient. prepareMessageForTransmission(java.lang.String componentName, PlatformMessage msg, boolean synchronous)Prepares the message to be sent to the MessageService.voidAbstractReceiverClient.ClientMessageSender. prepareMessageWorkflows(WorkflowQueue clientWorkflow, PlatformMessage msg)PlatformMessageAbstractReceiverClient.ClientMessageSender. send(PlatformMessage msg, java.lang.String uri, boolean allowNullResponse)protected voidAbstractReceiverClient. sendAsyncMessage(PlatformMessage msg)Sends an asynchronous message to Attivio via the configured nodeAbstractReceiverClient.getReceiverUri().voidMessageForwardingClient. sendAsyncMessage(java.lang.String componentName, PlatformMessage msg)Sends a message to a component name asynchronously.protected PlatformMessageAbstractReceiverClient. sendMessage(PlatformMessage msg)Sends a synchronous message to Attivio via the configured nodeAbstractReceiverClient.getReceiverUri().protected PlatformMessageAbstractReceiverClient. sendMessage(PlatformMessage msg, boolean allowNullResponse)Sends a synchronous message to Attivio via the configured nodeAbstractReceiverClient.getReceiverUri().PlatformMessageMessageForwardingClient. sendMessage(java.lang.String componentName, PlatformMessage msg)Sends a message to a component name synchronously.protected voidContentFeeder. sendMessageInternal(PlatformMessage message)Internal method to send amessageto theIngestApi. -
Uses of PlatformMessage in com.attivio.client.streaming
Classes in com.attivio.client.streaming that implement PlatformMessage Modifier and Type Class Description classStreamResponseMethods in com.attivio.client.streaming with parameters of type PlatformMessage Modifier and Type Method Description static booleanStreamRequestInfo. messageContainsStreamRequest(PlatformMessage msg)voidStreamRequestInfo. serializeIntoMessage(PlatformMessage msg)Constructors in com.attivio.client.streaming with parameters of type PlatformMessage Constructor Description StreamRequestInfo(PlatformMessage msg) -
Uses of PlatformMessage in com.attivio.platform.service
Methods in com.attivio.platform.service with parameters of type PlatformMessage Modifier and Type Method Description java.lang.StringLocalSearchClientImpl. endpoint(PlatformMessage pm)Determine the destination endpoint (local or remote) based on the messagejava.lang.StringRemoteSearchClient. endpoint(PlatformMessage pm)Determine the destination endpoint (local or remote) based on the message -
Uses of PlatformMessage in com.attivio.sdk.admin
Classes in com.attivio.sdk.admin that implement PlatformMessage Modifier and Type Class Description classAdminMessageBase class for all messages intended for the admin serviceclassPingA message sent to an AdminService to see if it is listening for messages.classPingResponseA message sent in response to aPingmessage.classShutdownSent to tell the AdminService to shutdown this instance of Attivio.classShutdownImmediatelySent to tell the AdminService to shutdown this instance of Attivio quickly without waiting for in-flight documents to pass through the system. -
Uses of PlatformMessage in com.attivio.sdk.connector
Methods in com.attivio.sdk.connector that return types with arguments of type PlatformMessage Modifier and Type Method Description java.util.List<PlatformMessage>MockPublisher. getSentMessages() -
Uses of PlatformMessage in com.attivio.sdk.esb
Subinterfaces of PlatformMessage in com.attivio.sdk.esb Modifier and Type Interface Description interfaceGroupedMessageGrouped messages are processed in order relative to each other and are guaranteed to all fall on the same side of a commit/optimize/backup boundary.interfacePersistsThroughCyclesInterface used for tagging that a particular message will persist through a cycle.Classes in com.attivio.sdk.esb that implement PlatformMessage Modifier and Type Class Description classAbstractListMessage<T>Abstract container for list based messages.classAbstractPlatformMessageBase class that handles many of the implementation-level details of an PlatformMessage.classCgiRequestMessage that represents a request via CGI on a HTTP receiver.classExceptionResponseResponse containing an Exception.classMessageListRepresents a list of otherPlatformMessages.classProcessingResultMessageClass used for transmittingProcessingResults across JVM boundaries.classPropertiesMessageProperties messages contain a set of properties to be delivered to a component.classStringMessageA simple PlatformMessage that holds a string.Fields in com.attivio.sdk.esb declared as PlatformMessage Modifier and Type Field Description PlatformMessageProcessingResult.MsgData. createdPmMethods in com.attivio.sdk.esb with type parameters of type PlatformMessage Modifier and Type Method Description <T extends PlatformMessage>
TMessageList. getMessage(java.lang.Class<T> clazz)Gets the first instance of a message of the specified type, walking into inner MessageLists if present<T extends PlatformMessage>
java.util.Iterator<T>MessageList. iterator(java.lang.Class<T> messageClass)Return an iterator that will recursively iterate over all sub messages of this MessageList.Methods in com.attivio.sdk.esb that return PlatformMessage Modifier and Type Method Description protected PlatformMessageMessageList. clone(PlatformMessage tmp)PlatformMessagePlatformMessage. clone()Clones a message.Methods in com.attivio.sdk.esb with parameters of type PlatformMessage Modifier and Type Method Description booleanMessageList. add(PlatformMessage message)protected PlatformMessageMessageList. clone(PlatformMessage tmp)voidProcessingResult. completed(PlatformMessage pm)voidProcessingResult. created(PlatformMessage pm)Deprecated.voidProcessingResult. drop(PlatformMessage pm)voidProcessingResult. drop(PlatformMessage pm, ErrorCode errorCode, java.lang.String msg)voidProcessingResult. drop(PlatformMessage pm, ErrorCode errorCode, java.lang.Throwable t)voidProcessingResult. drop(PlatformMessage pm, ErrorCode errorCode, java.lang.Throwable t, java.lang.String msg)voidProcessingResult. fail(PlatformMessage pm, AttivioException ex)voidProcessingResult. fail(PlatformMessage pm, ErrorCode errorCode, java.lang.String msg)voidProcessingResult. fail(PlatformMessage pm, ErrorCode errorCode, java.lang.Throwable t, java.lang.String msg)voidProcessingResult. fail(PlatformMessage pm, java.lang.Throwable t)java.lang.StringMessageDomainManager. getMessageDomain(PlatformMessage msg)Domains are always non-blankvoidProcessingResult. notHandled(PlatformMessage pm)voidProcessingResult. notHandled(PlatformMessage pm, ErrorCode errorCode, java.lang.Throwable t)voidMessageDomainManager. setMessageDomain(PlatformMessage msg, java.lang.String domain)Sets the domain for the message.java.lang.StringMessageDomainManager. transformForDomain(PlatformMessage msg, java.lang.String uri)Transformsuriso that it points to the domain-specific uri for the domain the message is in.voidProcessingResult. warn(PlatformMessage pm, ErrorCode errorCode, java.lang.Throwable t, java.lang.String msg)Method parameters in com.attivio.sdk.esb with type arguments of type PlatformMessage Modifier and Type Method Description booleanMessageList. containsMessage(java.lang.Class<? extends PlatformMessage> clazz)Checks to see if this list contains a message of the specified class type.Constructors in com.attivio.sdk.esb with parameters of type PlatformMessage Constructor Description MessageList(java.util.UUID clientId, PlatformMessage... msgs)Constructor with a client ID and a list of messages. -
Uses of PlatformMessage in com.attivio.sdk.ingest
Subinterfaces of PlatformMessage in com.attivio.sdk.ingest Modifier and Type Interface Description interfaceIndexMessageDefines the interface for messages which flow through the indexing workflow.Classes in com.attivio.sdk.ingest that implement PlatformMessage Modifier and Type Class Description classAbstractIndexMessageBase class for IndexMessages which are notDocumentList.classBackupMessage used to initiate an index backup.classBulkUpdateMessage that applies a "template" document to multiple document ids.classCommitSignifies that the index or other underlying data store should commit currently held documents to disk.classDocumentListThe basic container for a collection of IngestDocuments.classOptimizeRepresents an 'optimize' index message. -
Uses of PlatformMessage in com.attivio.sdk.scanner
Methods in com.attivio.sdk.scanner that return types with arguments of type PlatformMessage Modifier and Type Method Description java.util.List<PlatformMessage>TestScannerRunner. getSentMessages()java.util.List<PlatformMessage>TestScannerRunnerImpl. getSentMessages() -
Uses of PlatformMessage in com.attivio.sdk.search
Classes in com.attivio.sdk.search that implement PlatformMessage Modifier and Type Class Description classQueryRequestRepresents a search query and all associated meta data about the query such as sorting, faceting, linguistic options, etc.classQueryResponseQueryResponse contains the response to aQueryRequest. -
Uses of PlatformMessage in com.attivio.sdk.security
Classes in com.attivio.sdk.security that implement PlatformMessage Modifier and Type Class Description classAuthenticationRequestPlatformMessage for authenticationclassAuthenticationResponsePlatformMessage for returning AuthenticationRequest's response. -
Uses of PlatformMessage in com.attivio.sdk.server.component
Methods in com.attivio.sdk.server.component that return PlatformMessage Modifier and Type Method Description PlatformMessageCgiRequestProcessor. handleCgiRequest(CgiRequest cgi)Called by the Attivio Engine to convert aCgiRequestinto aPlatformMessageto be handled by the Attivio Engine.PlatformMessageMessageHandlingWorkflowStage. processMessage(PlatformMessage msg)Called whenever a message is received for the component.Methods in com.attivio.sdk.server.component with parameters of type PlatformMessage Modifier and Type Method Description PlatformMessageMessageHandlingWorkflowStage. processMessage(PlatformMessage msg)Called whenever a message is received for the component. -
Uses of PlatformMessage in com.attivio.sdk.server.component.ingest
Methods in com.attivio.sdk.server.component.ingest with parameters of type PlatformMessage Modifier and Type Method Description voidProcessingFeedbackHandler. drop(PlatformMessage message)Report a dropped message -
Uses of PlatformMessage in com.attivio.sdk.service
Fields in com.attivio.sdk.service with type parameters of type PlatformMessage Modifier and Type Field Description java.util.ArrayList<PlatformMessage>MockIngestApi. msgsMethods in com.attivio.sdk.service that return types with arguments of type PlatformMessage Modifier and Type Method Description java.util.List<PlatformMessage>MockIngestApi. getMessages()Methods in com.attivio.sdk.service with parameters of type PlatformMessage Modifier and Type Method Description voidMockIngestApi. feed(PlatformMessage msg)Constructors in com.attivio.sdk.service with parameters of type PlatformMessage Constructor Description MockAuditDetail(PlatformMessage msg, ProcessingResultCode code) -
Uses of PlatformMessage in com.attivio.sdk.test
Methods in com.attivio.sdk.test with parameters of type PlatformMessage Modifier and Type Method Description voidMockProcessingFeedbackHandler. drop(PlatformMessage message)Report a dropped message -
Uses of PlatformMessage in com.attivio.sdk.transport
Methods in com.attivio.sdk.transport that return PlatformMessage Modifier and Type Method Description PlatformMessageMessageEmitter. emit(PlatformMessage msg, boolean synchronous, java.net.URI srcURI)send a message to the internal URI.PlatformMessageSyncronousMessageHandle. getRequestMessage()Get the request message received by theTransport.PlatformMessageClientTransport. sendMessage(PlatformMessage msg, S sender)Synchronously send a message via the provided sender.PlatformMessageMultiRegionTransport. sendMessage(PlatformMessage msg, S sender)Synchronously send a message via the provided sender.Methods in com.attivio.sdk.transport with parameters of type PlatformMessage Modifier and Type Method Description voidClientTransport. dispatchMessage(PlatformMessage msg, S sender)Asynchronously send a message via the provided sender with no expected return.voidMultiRegionTransport. dispatchMessage(PlatformMessage msg, S sender)Asynchronously send a message via the provided sender with no expected return.PlatformMessageMessageEmitter. emit(PlatformMessage msg, boolean synchronous, java.net.URI srcURI)send a message to the internal URI.voidSyncronousMessageHandle. handleReplyMessage(PlatformMessage msg)Handle the reply message from the bus.abstract voidMultiRegionTransport. release(PlatformMessage msg)Release a message from potential re-emissionPlatformMessageClientTransport. sendMessage(PlatformMessage msg, S sender)Synchronously send a message via the provided sender.PlatformMessageMultiRegionTransport. sendMessage(PlatformMessage msg, S sender)Synchronously send a message via the provided sender. -
Uses of PlatformMessage in com.attivio.service
Methods in com.attivio.service with parameters of type PlatformMessage Modifier and Type Method Description voidIngestApi. feed(PlatformMessage msg) -
Uses of PlatformMessage in com.attivio.sysstate
Methods in com.attivio.sysstate with parameters of type PlatformMessage Modifier and Type Method Description voidNoOpSystemStateMonitor. startDocumentEvent(PlatformMessage msg, java.lang.String componentName, IngestDocument doc)Starts a document event.voidSystemStateMonitor. startDocumentEvent(PlatformMessage msg, java.lang.String componentName, IngestDocument doc)Starts a document event.voidNoOpSystemStateMonitor. startEvent(SystemStateMonitor.ComponentEvent event, PlatformMessage msg, java.lang.String componentName, java.lang.String docIdOrUri)Starts an event.voidSystemStateMonitor. startEvent(SystemStateMonitor.ComponentEvent event, PlatformMessage msg, java.lang.String componentName, java.lang.String docIdOrUriOrThreadType)Starts an event.voidMetricsCollector. startProcessingDocument(PlatformMessage msg, IngestDocument doc)Call this method when this MetricsCollector's component starts processing a document.voidNoOpSystemStateMonitor. stopDocumentEvent(PlatformMessage msg, java.lang.String componentName, IngestDocument doc, long duration)Stops a document event.voidSystemStateMonitor. stopDocumentEvent(PlatformMessage msg, java.lang.String componentName, IngestDocument doc, long durationInNano)Stops a document event.voidMetricsCollector. stopProcessingDocument(PlatformMessage msg, IngestDocument doc, long timeSpentProcessingDocument)Call this method when this MetricsCollector's component stops processing a document. -
Uses of PlatformMessage in com.attivio.transport
Methods in com.attivio.transport that return PlatformMessage Modifier and Type Method Description PlatformMessageHttpClientTransport. sendMessage(PlatformMessage msg, java.net.URI sender)Synchronously send a message via the provided sender.Methods in com.attivio.transport with parameters of type PlatformMessage Modifier and Type Method Description voidHttpClientTransport. dispatchMessage(PlatformMessage msg, java.net.URI sender)Asynchronously send a message via the provided sender with no expected return.PlatformMessageHttpClientTransport. sendMessage(PlatformMessage msg, java.net.URI sender)Synchronously send a message via the provided sender. -
Uses of PlatformMessage in com.attivio.util
Methods in com.attivio.util that return PlatformMessage Modifier and Type Method Description static PlatformMessageMessageUtils. rawSend(PlatformMessage msg, java.lang.String endpointName, boolean synchronous)Sends a message to theendpointName.static PlatformMessageMessageUtils. rawSendWithRetry(PlatformMessage msg, java.lang.String endpointName, boolean synchronous)Sends a message to theendpointName.static PlatformMessageMessageUtils. rawSendWithRetry(PlatformMessage msg, java.lang.String endpointName, boolean synchronous, int maxRetries, long retryWaitTime)Method for sending a message, retrying on transport error.static PlatformMessageMessageUtils. send(PlatformMessage msg, java.lang.String endpointName)Sends a message to theendpointNamesynchronously.static PlatformMessageMessageUtils. send(PlatformMessage msg, java.lang.String endpointName, boolean allowNullResponse)Sends a message to theendpointNamesynchronously.static PlatformMessageMessageUtils. send(PlatformMessage msg, java.lang.String endpointName, boolean allowNullResponse, int maxRetries, long retryWaitTime)Sends a message toendpointNamesynchronously, retrying on transport error.static PlatformMessageMessageUtils. send(PlatformMessage msg, java.lang.String endpointName, int maxRetries, long retryWaitTime)Sends a message toendpointNamesynchronously, retrying on transport error.Methods in com.attivio.util with parameters of type PlatformMessage Modifier and Type Method Description static voidMessageUtils. dispatch(PlatformMessage msg, java.lang.String endpointName)Sends the message to theendpointNameasynchronously.static booleanMessageUtils. hasVisitedComponent(PlatformMessage msg, java.lang.String componentName)static PlatformMessageMessageUtils. rawSend(PlatformMessage msg, java.lang.String endpointName, boolean synchronous)Sends a message to theendpointName.static PlatformMessageMessageUtils. rawSendWithRetry(PlatformMessage msg, java.lang.String endpointName, boolean synchronous)Sends a message to theendpointName.static PlatformMessageMessageUtils. rawSendWithRetry(PlatformMessage msg, java.lang.String endpointName, boolean synchronous, int maxRetries, long retryWaitTime)Method for sending a message, retrying on transport error.static PlatformMessageMessageUtils. send(PlatformMessage msg, java.lang.String endpointName)Sends a message to theendpointNamesynchronously.static PlatformMessageMessageUtils. send(PlatformMessage msg, java.lang.String endpointName, boolean allowNullResponse)Sends a message to theendpointNamesynchronously.static PlatformMessageMessageUtils. send(PlatformMessage msg, java.lang.String endpointName, boolean allowNullResponse, int maxRetries, long retryWaitTime)Sends a message toendpointNamesynchronously, retrying on transport error.static PlatformMessageMessageUtils. send(PlatformMessage msg, java.lang.String endpointName, int maxRetries, long retryWaitTime)Sends a message toendpointNamesynchronously, retrying on transport error. -
Uses of PlatformMessage in com.attivio.util.ft
Methods in com.attivio.util.ft with parameters of type PlatformMessage Modifier and Type Method Description default booleanTransactionReceiver. add(long progress, PlatformMessage message)Receive aPlatformMessagefrom the transaction logvoidTransactionLog. addMessage(PlatformMessage msg)Add aPlatformMessageto the transaction log. -
Uses of PlatformMessage in com.attivio.util.serialization
Methods in com.attivio.util.serialization with parameters of type PlatformMessage Modifier and Type Method Description static voidAbstractPlatformMessageConverter. marshalMessage(PlatformMessage msg, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, com.thoughtworks.xstream.mapper.Mapper mapper)Marshals a messagestatic voidAbstractPlatformMessageConverter. unmarshalMessage(PlatformMessage msg, com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context, com.thoughtworks.xstream.mapper.Mapper mapper)Unmarshals a message
-