class_docstr: Manages all state for endpoints in the system.
  
  This class is *not* thread safe, so any state-modifying methods should be
  called with a lock held.
class_docstr_tok: ["Manages","all","state","for","endpoints","in","the","system",".","This","class","is","*","not","*","thread","safe",",","so","any","state-modifying","methods","should","be","called","with","a","lock","held","."]
code: def shutdown(self):
      self._kv_store.delete(CHECKPOINT_KEY)
  
file_path: ray/python/ray/serve/_private/endpoint_state.py
imports: import logging
  from typing import Any, Dict, Optional
  from ray import cloudpickle
  from ray.serve._private.common import EndpointInfo, EndpointTag
  from ray.serve._private.constants import SERVE_LOGGER_NAME
  from ray.serve._private.long_poll import LongPollHost, LongPollNamespace
  from ray.serve._private.storage.kv_store import KVStoreBase
label_desc: Use image node_id 2 for calling the EndpointState obj's underlying member method code with example usage: obj.shutdown() without return types