class TaskSlotTableImpl implements TaskSlotTable<T> {

	@Override
	public boolean tryMarkSlotActive(JobID jobId, AllocationID allocationId) {
		TaskSlot<T> taskSlot = getTaskSlot(allocationId);

		if (taskSlot != null && taskSlot.isAllocated(jobId, allocationId)) {
			return markExistingSlotActive(taskSlot);
		} else {
			return false;
		}
	}

	public  TaskSlotTableImpl(
			final int numberSlots,
			final ResourceProfile totalAvailableResourceProfile,
			final ResourceProfile defaultSlotResourceProfile,
			final int memoryPageSize,
			final TimerService<AllocationID> timerService,
			final Executor memoryVerificationExecutor);

}