Class TypeCache.Builder<A>
java.lang.Object
jodd.util.TypeCache.Builder<A>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate booleanprivate boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()Builds a type cache.noCache()No cache will be used.threadsafe(boolean threadsafe) Cache will be thread-safe.weak(boolean weak) Cache keys will be weak.
-
Field Details
-
threadsafe
private boolean threadsafe -
weak
private boolean weak -
none
private boolean none
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
noCache
No cache will be used. Setting other properties will not have any affect. -
weak
Cache keys will be weak. -
threadsafe
Cache will be thread-safe. -
get
-