Uses of Enum Class
com.loomcache.common.protocol.MessageType
Packages that use MessageType
Package
Description
-
Uses of MessageType in com.loomcache.common.protocol
Subclasses with type arguments of type MessageType in com.loomcache.common.protocolModifier and TypeClassDescriptionenumAll operation codes for the LoomCache binary protocol.Methods in com.loomcache.common.protocol that return MessageTypeModifier and TypeMethodDescriptionstatic @Nullable MessageTypeMessageType.fromCode(byte code) O(1) lookup from wire byte to enum.@Nullable MessageTypeMessage.type()Get the message type.static MessageTypeReturns the enum constant of this class with the specified name.static MessageType[]MessageType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.loomcache.common.protocol with parameters of type MessageTypeModifier and TypeMethodDescriptionstatic MessageMessage.request(MessageType type) Create a request message.static MessageMessage.response(MessageType type, int correlationId) Create a response message.static MessageMessage.response(MessageType type, int correlationId, byte status) Create a response message with status. -
Uses of MessageType in com.loomcache.server.handler
Methods in com.loomcache.server.handler that return MessageTypeModifier and TypeMethodDescriptionRequestCoalescer.CoalescingKey.operation()Returns the value of theoperationrecord component.Methods in com.loomcache.server.handler with parameters of type MessageTypeModifier and TypeMethodDescriptionstatic booleanCqcSubscriptionHandler.isCqcOperation(@Nullable MessageType type) Returnstruefor message types this handler owns.booleanDataOperationHandler.isDataOperation(MessageType type) Returns true if this message type is a data operation we handle.static booleanExecutorServiceHandler.isExecutorOperation(@Nullable MessageType type) Check whether the given message type is an executor operation.Constructors in com.loomcache.server.handler with parameters of type MessageTypeModifierConstructorDescriptionCoalescingKey(MessageType operation, String mapName, String key) Creates an instance of aCoalescingKeyrecord class. -
Uses of MessageType in com.loomcache.server.network
Methods in com.loomcache.server.network with parameters of type MessageTypeModifier and TypeMethodDescriptionvoidTcpServer.clearClientResponseDrops(MessageType requestType) voidTcpServer.clearClientResponseDrops(MessageType requestType, @Nullable MessageType responseType) voidTcpServer.delayNextOutboundTo(String peerId, MessageType messageType, long delayMs) Delay the next outbound peer message of the given type to the target peer.voidTcpServer.dropNextClientResponseForRequest(MessageType requestType) Drop the next client response emitted for the given request type.voidTcpServer.dropNextClientResponseForRequest(MessageType requestType, MessageType responseType) Drop the next client response emitted for the given request and response types.voidTcpServer.dropNextClientResponsesForRequest(MessageType requestType, int count) Drop the nextcountclient responses emitted for the given request type.voidTcpServer.dropNextClientResponsesForRequest(MessageType requestType, @Nullable MessageType responseType, int count) Drop the nextcountclient responses emitted for the given request and response types.voidTcpServer.dropNextOutboundTo(String peerId, MessageType messageType) Drop the next outbound peer message of the given type to the target peer.voidTcpServer.duplicateNextOutboundTo(String peerId, MessageType messageType) Duplicate the next outbound peer message of the given type to the target peer.intTcpServer.remainingClientResponseDropsForRequest(MessageType requestType, @Nullable MessageType responseType) -
Uses of MessageType in com.loomcache.server.security
Methods in com.loomcache.server.security that return MessageTypeModifier and TypeMethodDescriptionSecurityOperationContext.messageType()Returns the value of themessageTyperecord component.@Nullable MessageTypeSecurityOperationResult.responseType()Returns the value of theresponseTyperecord component.Constructors in com.loomcache.server.security with parameters of type MessageTypeModifierConstructorDescriptionSecurityOperationContext(String connectionId, String username, Role role, MessageType messageType, AuthConfig.PermissionRequest permissionRequest, @Nullable String resourceName, byte[] key, int valueLength) Creates an instance of aSecurityOperationContextrecord class.SecurityOperationResult(boolean completed, boolean denied, @Nullable MessageType responseType, byte status, @Nullable String failure) Creates an instance of aSecurityOperationResultrecord class. -
Uses of MessageType in com.loomcache.server.transaction
Constructor parameters in com.loomcache.server.transaction with type arguments of type MessageTypeModifierConstructorDescriptionTransactionHandler(TransactionManager transactionManager, int instanceNumber, @Nullable BiFunction<Message, MessageType, @Nullable Message> leaderRedirectSupplier) -
Uses of MessageType in com.loomcache.server.wan
Methods in com.loomcache.server.wan with parameters of type MessageTypeModifier and TypeMethodDescriptionstatic booleanWanReplicationHandler.isWanOperation(@Nullable MessageType type) Check whether a message type is a WAN replication operation.