synchronized public Future<?> executeTask(TaskTypes type, BackupChunk chunk) {
		switch(type) {
		case BACKUPCHUNK:
			return executor.submit(new BackUpChunkTask(chunk));
		case STORECHUNK:
			return executor.submit(new StoreChunkTask(chunk));
		case REMOVE:
			return executor.submit(new RemoveTask());
		default:
			return null;
		}
	}