java.lang.Object | |
↳ | com.opensymphony.module.propertyset.cached.CachingPropertySet |
A PropertySet which decorates another PropertySet and caches the results.
This is only sensible to use in a situation where your application has exclusive access to the underlying PropertySet (otherwise it can be dangerous to use).
You can also use this property set to bulk load data from the decorated property set when the PS is created.
THINK BEFORE USING THIS - IT COULD HURT YOU ;)
Required Args
Optional Args
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Determine if property exists.
| |||||||||||
List all keys.
| |||||||||||
List all keys of certain type.
| |||||||||||
List all keys starting with supplied prefix.
| |||||||||||
List all keys starting with supplied prefix of certain type.
| |||||||||||
String of maximum 255 chars. | |||||||||||
String of unlimited length. | |||||||||||
Returns type of value.
| |||||||||||
Whether this PropertySet implementation allows values to be set
(as opposed to read-only).
| |||||||||||
Remove the propertyset and all it associated keys.
| |||||||||||
Removes property.
| |||||||||||
Whether this PropertySet implementation allows the type specified
to be stored or retrieved.
| |||||||||||
Whether this PropertySet implementation supports types when storing values.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
List all keys of certain type.
type | Type to list. See static class variables. If null, then all types shall be returned. |
---|
Collection
of
String
s.
PropertyException |
---|
List all keys starting with supplied prefix.
prefix | String that keys must start with. If null, than all keys shall be returned. |
---|
Collection
of
String
s.
PropertyException |
---|
List all keys starting with supplied prefix of certain type. See statics.
prefix | String that keys must start with. If null, than all keys shall be returned. |
---|---|
type | Type to list. See static class variables. If null, then all types shall be returned. |
Collection
of
String
s.
PropertyException |
---|
Whether this PropertySet implementation allows values to be set (as opposed to read-only).
Whether this PropertySet implementation allows the type specified to be stored or retrieved.
Whether this PropertySet implementation supports types when storing values. (i.e. the type of data is stored as well as the actual value).