package org.infinispan.persistence;

import org.infinispan.persistence.spi.AdvancedCacheLoader;

/**
 * @author Mircea Markus
 * @since 6.0
 * @private
 */
public class TaskContextImpl implements AdvancedCacheLoader.TaskContext {

   private volatile boolean stopped;

   @Override
   public void stop() {
      stopped = true;
   }

   public boolean isStopped() {
      return stopped;
   }
}
