Class ConsulKeyBuilder

java.lang.Object
org.ff4j.consul.store.ConsulKeyBuilder

public class ConsulKeyBuilder extends Object
  • Constructor Details

    • ConsulKeyBuilder

      public ConsulKeyBuilder()
      Generates a ConsulKeyBuilder with the default key format.
    • ConsulKeyBuilder

      public ConsulKeyBuilder(String prefix)
      Creates a key builder with a custom prefix.
      Parameters:
      prefix - custom prefix
  • Method Details

    • getKeyName

      public String getKeyName(String featureName)
    • getFeatureName

      public String getFeatureName(String consulKey)
    • getFeaturesDictionaryKey

      public String getFeaturesDictionaryKey()
    • getPropertyKey

      public String getPropertyKey(String propertyName)
    • getPropertyName

      public String getPropertyName(String consulKey)
    • getPropertiesDictionaryKey

      public String getPropertiesDictionaryKey()
    • getHitCountKey

      public String getHitCountKey(org.ff4j.audit.Event e)
    • getMissKey

      public String getMissKey(org.ff4j.audit.Event e)
    • getAuditTrailKey

      public String getAuditTrailKey(org.ff4j.audit.Event e)