Create A New XML Entity Cache
/management/weblogic/{version}/edit/XMLEntityCaches
Add a new XML entity cache to this collection.
Request
- application/json
-
version(required): string
The version of the WebLogic REST interface.
-
X-Requested-By(required): string
The 'X-Requested-By' header is used to protect against Cross-Site Request Forgery (CSRF) attacks. The value is an arbitrary name such as 'MyClient'.
Must contain a populated XML entity cache model.
object-
cacheDiskSize:
integer(int32)
Minimum Value:
0Default Value:5The disk size, in MB, of the persistent disk cache. The default value is 5 MB.
Return the disk size in MBytes of the cache.
-
cacheLocation:
string
Default Value:
xmlcacheProvides the path name for the persistent cache files.
-
cacheMemorySize:
integer(int32)
Minimum Value:
0Default Value:500The memory size, in KB, of the cache. The default value is 500 KB.
Return the memory size in KBytes of the cache.
-
cacheTimeoutInterval:
integer(int32)
Minimum Value:
0Default Value:120The default timeout interval, in seconds, for the cache. The default value is 120 seconds.
Return the default timeout interval in seconds for the cache.
-
dynamicallyCreated:
boolean
Read Only:
trueDefault Value:falseReturn whether the MBean was created dynamically or is persisted to config.xml
-
id:
integer(int64)
Read Only:
trueReturn the unique id of this MBean instance
-
maxSize:
integer(int32)
Provides the maximum number of entries that can be stored in the cache at any given time.
-
name:
string
Read Only:
trueThe user-specified name of this MBean instance.
This name is included as one of the key properties in the MBean's
javax.management.ObjectNameName=user-specified-nameConstraints
- legal null
-
notes:
string
Optional information that you can include to describe this configuration.
WebLogic Server saves this note in the domain's configuration file (
config.xml) as XML PCDATA. All left angle brackets (<) are converted to the xml entity<. Carriage returns/line feeds are preserved.)>Note: If you create or edit a note from the Administration Console, the Administration Console does not preserve carriage returns/line feeds.
-
tags:
array Items
Title:
ItemsReturn all tags on this Configuration MBean
-
type:
string
Read Only:
trueReturns the type of the MBean.
Constraints
- unharvestable
-
Admin: basic
Type:
basicDescription:A user in the Admin security role.