Streamline your workflow with the new MCP server for Red Hat product documentation.Connect your AI tools and LLMs directly to live Red Hat product documentation. Connect now.
4.5. 计数器 API
CounterManager 接口是定义、检索和删除计数器的入口点。
热备份客户端可以检索 CounterManager 接口,如下例所示:
// create or obtain your RemoteCacheManager
RemoteCacheManager manager = ...;
// retrieve the CounterManager
CounterManager counterManager = RemoteCounterManagerFactory.asCounterManager(manager);