boolean isAvailable(long sequence)
	{
		int index = calculateIndex(sequence);
		int flag = calculateAvailabilityFlag(sequence);
		long bufferAddress = (index * SCALE) + BASE;
		return UNSAFE.getIntVolatile(availableBuffer, bufferAddress) == flag;
	}
boolean isAvailable(long sequence)
	{
		int index = calculateIndex(sequence);
		int flag = calculateAvailabilityFlag(sequence);
		long bufferAddress = (index * SCALE) + BASE;
		return UNSAFE.getIntVolatile(availableBuffer, bufferAddress) == flag;
	}
boolean isAvailable ( long sequence ) { int index = calculateIndex ( sequence ) ; int flag = calculateAvailabilityFlag ( sequence ) ; long bufferAddress = ( index * SCALE ) + BASE ; return UNSAFE . getIntVolatile ( availableBuffer , bufferAddress ) == flag ; }
See {@code RingBufferProducer.isAvailable(long)}
See {