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

org.infinispan.cli.completers.CounterStorageCompleter Maven / Gradle / Ivy

package org.infinispan.cli.completers;

import java.util.Arrays;
import java.util.Collection;
import java.util.List;

import org.infinispan.cli.Context;

/**
 * @author Tristan Tarrant <[email protected]>
 * @since 10.0
 **/
public class CounterStorageCompleter extends ListCompleter {
   private static final List COUNTER_STORAGE_TYPES = Arrays.asList(
         "VOLATILE", "PERSISTENT"
   );

   @Override
   Collection getAvailableItems(Context context) {
      return COUNTER_STORAGE_TYPES;
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy