private void sendError(Message msg, String message, ServerConnection servConn) throws IOException { synchronized (msg) { writeErrorResponse(msg, MessageType.REQUESTDATAERROR, message, servConn); servConn.setAsTrue(RESPONDED); } }
.toLocalizedString("functionId"); logger.warn("{}: {}", servConn.getName(), message); sendError(msg, message, servConn); return; .toLocalizedString(functionId); logger.warn("{}: {}", servConn.getName(), message); sendError(msg, message, servConn); return; functionAttributes[1] = (byte)(function.isHA() ? 1 : 0); functionAttributes[2] = (byte)(function.optimizeForWrite() ? 1 : 0); writeResponseWithFunctionAttribute(functionAttributes, msg, servConn);
gfe66Commands.put(MessageType.GET_CLIENT_PARTITION_ATTRIBUTES, GetClientPartitionAttributesCommand66.getCommand()); gfe66Commands.put(MessageType.REGISTER_INTEREST_LIST, RegisterInterestList66.getCommand()); gfe66Commands.put(MessageType.GET_FUNCTION_ATTRIBUTES, GetFunctionAttribute.getCommand()); gfe66Commands.put(MessageType.EXECUTE_REGION_FUNCTION, ExecuteRegionFunction66.getCommand()); gfe66Commands.put(MessageType.EXECUTE_FUNCTION, ExecuteFunction66.getCommand());
+ message); sendError(msg, message, servConn); return; + message); sendError(msg, message, servConn); return; functionAttributes[1] = (byte)(function.isHA() ? 1 : 0); functionAttributes[2] = (byte)(function.optimizeForWrite() ? 1 : 0); writeResponseWithFunctionAttribute(functionAttributes, msg, servConn);
gfe66Commands.put(MessageType.GET_CLIENT_PARTITION_ATTRIBUTES, GetClientPartitionAttributesCommand66.getCommand()); gfe66Commands.put(MessageType.REGISTER_INTEREST_LIST, RegisterInterestList66.getCommand()); gfe66Commands.put(MessageType.GET_FUNCTION_ATTRIBUTES, GetFunctionAttribute.getCommand()); gfe66Commands.put(MessageType.EXECUTE_REGION_FUNCTION, ExecuteRegionFunction66.getCommand()); gfe66Commands.put(MessageType.EXECUTE_FUNCTION, ExecuteFunction66.getCommand());
private void sendError(Message msg, String message, ServerConnection servConn) throws IOException { synchronized (msg) { writeErrorResponse(msg, MessageType.REQUESTDATAERROR, message, servConn); servConn.setAsTrue(RESPONDED); } }