class WorkerResourceSpec implements Serializable {

	@Override
	public int hashCode() {
		return Objects.hash(cpuCores, taskHeapSize, taskOffHeapSize, networkMemSize, managedMemSize);
	}

	private  WorkerResourceSpec(
		CPUResource cpuCores,
		MemorySize taskHeapSize,
		MemorySize taskOffHeapSize,
		MemorySize networkMemSize,
		MemorySize managedMemSize);

}