public int pollInt() {
		final long currentHead = getHeadPlain();
		if (currentHead >= getTailCache()) {
			setTailCache(getTail());
			if (currentHead >= getTailCache()) {
				return Integer.MIN_VALUE;
			}
		}

		final long offset = calcElementOffset(currentHead);
		final int e = UnsafeAccess.UNSAFE.getInt(offset);
		setHead(currentHead + 1);
		return e;
    }
This is to be used for an IPC queue with the direct buffer used being a memory
mapped file.

@param buff
@param capacity
@param viewMask
jctools-experimental/src/main/java/org/jctools/queues/SpscOffHeapIntQueue.java