class AMQ::IntAllocator

def allocated?(reservation)

Returns:
  • (Boolean) - true if provided argument was previously allocated, false otherwise
def allocated?(reservation)
  @free_set.get(reservation-1)
end # allocated?(reservation)