You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by GitBox <gi...@apache.org> on 2019/12/03 18:31:41 UTC

[GitHub] [samza] Sanil15 commented on a change in pull request #1219: SAMZA-2373: Container Placement Service (core functionality) for container move and restart

Sanil15 commented on a change in pull request #1219: SAMZA-2373: Container Placement Service (core functionality) for container move and restart
URL: https://github.com/apache/samza/pull/1219#discussion_r352783101
 
 

 ##########
 File path: samza-api/src/main/java/org/apache/samza/container/placements/ContainerPlacementRequestMessage.java
 ##########
 @@ -0,0 +1,53 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.samza.container.placements;
+
+import java.util.UUID;
+
+
+/**
+ * Encapsulates the request sent from the external controller to the JobCoordinator to take a container placement action
+ */
+public class ContainerPlacementRequestMessage extends ContainerPlacementMessage {
+
+  public ContainerPlacementRequestMessage(UUID uuid, String applicationId, String processorId, String destinationHost, Long requestExpiry) {
 
 Review comment:
   Good pick I will make it consistent to use requestExpiryTimeout

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services