Class MapConfiguration.Builder

java.lang.Object
org.gridgain.structure.MapConfiguration.Builder
Enclosing class:
MapConfiguration

public static class MapConfiguration.Builder extends Object
Builder for MapConfiguration.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • distributionZone

      public MapConfiguration.Builder distributionZone(@Nullable @Nullable String distributionZone)
      Sets the distribution zone of the map.
      Parameters:
      distributionZone - The IgniteMap's distribution zone.
      Returns:
      This builder.
    • storageProfile

      public MapConfiguration.Builder storageProfile(@Nullable @Nullable String storageProfile)
      Sets the storage profile of the map.
      Parameters:
      storageProfile - The IgniteMap's storage profile.
      Returns:
      This builder.
    • build

      public MapConfiguration build()
      Builds the MapConfiguration instance.
      If keyClass or valueClass is not natively supported, falls back to byte[] with corresponding marshaller.
      Returns:
      The MapConfiguration instance.