Class ServerVersionSupport

java.lang.Object
org.springframework.data.aerospike.server.version.ServerVersionSupport

public class ServerVersionSupport extends Object
  • Constructor Details

    • ServerVersionSupport

      public ServerVersionSupport(com.aerospike.client.IAerospikeClient client)
  • Method Details

    • scheduleServerVersionRefresh

      public void scheduleServerVersionRefresh(long intervalSeconds)
    • isSIndexCardinalitySupported

      public boolean isSIndexCardinalitySupported()
      Returns:
      true if Server version is 6.1 or greater
    • isDropCreateBehaviorUpdated

      public boolean isDropCreateBehaviorUpdated()
      Since Aerospike Server ver. 6.1.0.1 attempting to create a secondary index which already exists or to drop a non-existing secondary index returns success/OK instead of an error.
      Returns:
      true if Server version is 6.1.0.1 or greater
    • isFindByCDTSupported

      public boolean isFindByCDTSupported()
      Since Aerospike Server ver. 6.3.0.0 find by Collection Data Types (Collection / Map / POJO) is supported.
      Returns:
      true if Server version is 6.3 or greater
    • isServerVersionGtOrEq7

      public boolean isServerVersionGtOrEq7()
      Returns:
      true if Server version is 7.0 or greater
    • isTxnSupported

      public boolean isTxnSupported()
      Returns:
      true if Server version is 8.0 or greater