org.wildfly.extras.creaper.commands.elytron.realm
Class AddCachingRealm.Builder

java.lang.Object
  extended by org.wildfly.extras.creaper.commands.elytron.realm.AddCachingRealm.Builder
Enclosing class:
AddCachingRealm

public static final class AddCachingRealm.Builder
extends Object


Constructor Summary
AddCachingRealm.Builder(String name)
           
 
Method Summary
 AddCachingRealm build()
           
 AddCachingRealm.Builder maximumAge(long maximumAge)
          The time in milliseconds that an item can stay in the cache.
 AddCachingRealm.Builder maximumEntries(int maximumEntries)
          The maximum number of entries to keep in the cache.
 AddCachingRealm.Builder realm(String realm)
          A reference to a cacheable security realm.
 AddCachingRealm.Builder replaceExisting()
          Replace caching-realm with the same name, if exists.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddCachingRealm.Builder

public AddCachingRealm.Builder(String name)
Method Detail

realm

public AddCachingRealm.Builder realm(String realm)
A reference to a cacheable security realm.


maximumEntries

public AddCachingRealm.Builder maximumEntries(int maximumEntries)
The maximum number of entries to keep in the cache. Defaults to 16.


maximumAge

public AddCachingRealm.Builder maximumAge(long maximumAge)
The time in milliseconds that an item can stay in the cache. Defaults to -1.


replaceExisting

public AddCachingRealm.Builder replaceExisting()
Replace caching-realm with the same name, if exists.


build

public AddCachingRealm build()


Copyright © 2020. All rights reserved.