def METHOD_NAME(cls, *args, **kwargs):
    """Returns the current thread’s IOLoop.
    """
    # install ZMQIOLoop as the active IOLoop implementation
    # when using tornado 3
    ioloop.IOLoop.configure(cls)
    _deprecated()
    loop = ioloop.IOLoop.METHOD_NAME(*args, **kwargs)
    return loop