You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by cw...@apache.org on 2013/04/09 16:20:07 UTC

svn commit: r1466048 - /uima/sandbox/uima-ducc/trunk/uima-ducc-transport/src/main/java/org/apache/uima/ducc/transport/event/common/CGroup.java

Author: cwiklik
Date: Tue Apr  9 14:20:07 2013
New Revision: 1466048

URL: http://svn.apache.org/r1466048
Log:
UIMA-2804 new class to support cgroups

Added:
    uima/sandbox/uima-ducc/trunk/uima-ducc-transport/src/main/java/org/apache/uima/ducc/transport/event/common/CGroup.java

Added: uima/sandbox/uima-ducc/trunk/uima-ducc-transport/src/main/java/org/apache/uima/ducc/transport/event/common/CGroup.java
URL: http://svn.apache.org/viewvc/uima/sandbox/uima-ducc/trunk/uima-ducc-transport/src/main/java/org/apache/uima/ducc/transport/event/common/CGroup.java?rev=1466048&view=auto
==============================================================================
--- uima/sandbox/uima-ducc/trunk/uima-ducc-transport/src/main/java/org/apache/uima/ducc/transport/event/common/CGroup.java (added)
+++ uima/sandbox/uima-ducc/trunk/uima-ducc-transport/src/main/java/org/apache/uima/ducc/transport/event/common/CGroup.java Tue Apr  9 14:20:07 2013
@@ -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.uima.ducc.transport.event.common;
+
+import java.io.Serializable;
+
+import org.apache.uima.ducc.common.utils.id.IDuccId;
+
+public class CGroup implements Serializable {
+	
+	private static final long serialVersionUID = 1L;
+	
+	private IDuccId id;
+	private long maxMemoryLimit;
+	private boolean reservation;
+	
+	public boolean isReservation() {
+		return reservation;
+	}
+	public void setReservation(boolean reservation) {
+		this.reservation = reservation;
+	}
+	public IDuccId getId() {
+		return id;
+	}
+	public void setId(IDuccId id) {
+		this.id = id;
+	}
+	public long getMaxMemoryLimit() {
+		return maxMemoryLimit;
+	}
+	public void setMaxMemoryLimit(long maxMemoryLimit) {
+		this.maxMemoryLimit = maxMemoryLimit;
+	}
+	
+}