code: public boolean isEmpty() throws Exception {
  		return Iterables.isEmpty(eventsBufferCache.keySet()) && Iterables.isEmpty(eventsBuffer.keys());
  	}
docs: Checks if there is no elements in the buffer.
  
  @return true if there is no elements in the buffer
  @throws Exception Thrown if the system cannot access the state.