def shutdown(self):
if self.lifecycle.is_live:<EOL><INDENT>self.lifecycle.fire_lifecycle_event(LIFECYCLE_STATE_SHUTTING_DOWN)<EOL>self.near_cache_manager.destroy_all_near_caches()<EOL>self.statistics.shutdown()<EOL>self.partition_service.shutdown()<EOL>self.heartbeat.shutdown()<EOL>self.cluster.shutdown()<EOL>self.reactor.shutdown()<EOL>self.lifecycle.fire_lifecycle_event(LIFECYCLE_STATE_SHUTDOWN)<EOL>self.logger.info("<STR_LIT>", extra=self._logger_extras)<EOL><DEDENT>
Shuts down this HazelcastClient.