QueueIsolator.java

package org.microspace.table;

import org.microspace.annotation.IndexType;
import org.microspace.table.column.IndexedMap;
import org.microspace.thread.ContextId;

/**
 * A front isolator for the queus.
 * @author Gaspar Sinai - {@literal gaspar.sinai@microspace.org}
 * @version 2017-06-24
 */
public class QueueIsolator<T> extends IndexedMap<Object, Entry<T>>{

	final ContextId contextId;
	
	public QueueIsolator(IndexType type, ContextId contextId) {
		super(type);
		this.contextId = contextId;
	}
	
	public ContextId getContextId () {
		return this.contextId;
	}

}