import org.apache.uima.ducc.transport.event.common.IDuccProcess;
public class CGroupManager {
public static void assign(IDuccId primaryId, IDuccProcess process, long max_size_in_bytes) {
IDuccId secondaryId = process.getDuccId();
CGroup cgroup = new CGroup(primaryId, secondaryId, max_size_in_bytes);
process.setCGroup(cgroup);
}