All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.security.actions.GetCacheManagerIsCoordinatorAction Maven / Gradle / Ivy

There is a newer version: 9.1.7.Final
Show newest version
package org.infinispan.security.actions;

import org.infinispan.manager.EmbeddedCacheManager;

/**
 * GetCacheManagerIsCoordinatorAction.
 *
 * @author Tristan Tarrant
 * @since 7.0
 */
public class GetCacheManagerIsCoordinatorAction extends AbstractEmbeddedCacheManagerAction {

   public GetCacheManagerIsCoordinatorAction(EmbeddedCacheManager cacheManager) {
      super(cacheManager);
   }

   @Override
   public Boolean run() {
      return cacheManager.isCoordinator();
   }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy