@classmethod
def expire(cls, key, second):
    """Set the key to expire in specified second.

        :param string key: The key to set expire.
        :param int second: The number of seconds for the key to live.
        :returns boolean: True if the operation is successful.
        """
    return cls._instance.expire(key, second)
