Class ManualEncryptionConfiguration

    • Field Detail

      • DEFAULT_LIMIT_UNIT

        public static final TimeUnit DEFAULT_LIMIT_UNIT
    • Constructor Detail

      • ManualEncryptionConfiguration

        public ManualEncryptionConfiguration()
      • ManualEncryptionConfiguration

        public ManualEncryptionConfiguration​(boolean enabled,
                                             int limit,
                                             TimeUnit limitUnit)
    • Method Detail

      • isEnabled

        public boolean isEnabled()
        Returns:
        true if feature is enabled
      • getLimit

        public int getLimit()
        Returns:
        the limit of invocations of manual encryption in the given unit of time
      • getLimitUnit

        public TimeUnit getLimitUnit()
        Returns:
        the time unit within which the number of manual encryption invocations are limited
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object