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

org.infinispan.functional.impl.AbstractFunctionalMap Maven / Gradle / Ivy

package org.infinispan.functional.impl;

import org.infinispan.commons.api.functional.FunctionalMap;
import org.infinispan.commons.api.functional.Status;

/**
 * Abstract functional map, providing implementations for some of the shared methods.
 *
 * @since 8.0
 */
abstract class AbstractFunctionalMap implements FunctionalMap {

   protected final FunctionalMapImpl fmap;

   protected AbstractFunctionalMap(FunctionalMapImpl fmap) {
      this.fmap = fmap;
   }

   @Override
   public String getName() {
      return "";
   }

   @Override
   public Status getStatus() {
      return fmap.getStatus();
   }

   @Override
   public void close() throws Exception {
      fmap.close();
   }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy