Interface IgniteStructures


public interface IgniteStructures
Provides the ability to create or access to different distributed structures.
  • Method Details

    • getOrCreateMapAsync

      <K, V> CompletableFuture<IgniteMap<K,V>> getOrCreateMapAsync(MapConfiguration configuration)
      Returns new or already existed IgniteMap with provided name.
      Type Parameters:
      K - The IgniteMap's key type.
      V - The IgniteMap's value type.
      Parameters:
      configuration - The IgniteMap's configuration.
    • getOrCreateMapAsync

      <K, V> CompletableFuture<IgniteMap<K,V>> getOrCreateMapAsync(String name, Marshaller<K,byte[]> keyMarshaller, Marshaller<V,byte[]> valueMarshaller)
      Returns new or already existed IgniteMap with provided name.
      Type Parameters:
      K - The IgniteMap's key type.
      V - The IgniteMap's value type.
      Parameters:
      name - The IgniteMap's name.
      keyMarshaller - The IgniteMap's key marshaller.
      valueMarshaller - The IgniteMap's value marshaller.
    • getOrCreateMapAsync

      <K, V> CompletableFuture<IgniteMap<K,V>> getOrCreateMapAsync(String name, Class<K> keyClass, Class<V> valueClass)
      Returns new or already existed IgniteMap with provided name. If keyClass or valueClass is not natively supported, falls back to byte[] with corresponding marshaller.
      Type Parameters:
      K - The IgniteMap's key type.
      V - The IgniteMap's value type.
      Parameters:
      name - The IgniteMap's name.
      keyClass - The IgniteMap's key class.
      valueClass - The IgniteMap's value class.
    • getOrCreateMap

      <K, V> IgniteMap<K,V> getOrCreateMap(MapConfiguration configuration)
      Returns new or already existed IgniteMap with provided name.
      Type Parameters:
      K - The IgniteMap's key type.
      V - The IgniteMap's value type.
      Parameters:
      configuration - The IgniteMap's configuration.
    • getOrCreateMap

      <K, V> IgniteMap<K,V> getOrCreateMap(String name, Marshaller<K,byte[]> keyMarshaller, Marshaller<V,byte[]> valueMarshaller)
      Returns new or already existed IgniteMap with provided name.
      Type Parameters:
      K - The IgniteMap's key type.
      V - The IgniteMap's value type.
      Parameters:
      name - The IgniteMap's name.
      keyMarshaller - The IgniteMap's key marshaller.
      valueMarshaller - The IgniteMap's value marshaller.
    • getOrCreateMap

      <K, V> IgniteMap<K,V> getOrCreateMap(String name, Class<K> keyClass, Class<V> valueClass)
      Returns new or already existed IgniteMap with provided name. If keyClass or valueClass is not natively supported, falls back to byte[] with corresponding marshaller.
      Type Parameters:
      K - The IgniteMap's key type.
      V - The IgniteMap's value type.
      Parameters:
      name - The IgniteMap's name.
      keyClass - The IgniteMap's key class.
      valueClass - The IgniteMap's value class.