Find File System Entry Cache by DN
/rest/v1/admin/{dn}
Returns an File System Entry Cache by DN
Request
- application/json
-
dn: string
LDAP DN of the entry to be fetched.
-
attributes: array
Collection Format:
multi
List of attributes to be fetched for the entry.-
[0]:
string
-
[0]:
string
-
controls: array
Collection Format:
multi
LDAP controls to be sent to server for search operation.-
[0]:
string
-
[0]:
string
-
filter: string
Search filter for the LDAP search operation. Should follow LDAP search filter syntax.
-
scope: string
Scope for the LDAP search operation.Allowed Values:
[ "base", "sub", "one" ]
Response
- application/json
200 Response
object
-
msgType:
string
Default Value:
urn:ietf:params:rest:schemas:oracle:oud:1.0:SearchResponse
The REST message type -
searchResultEntries:
array searchResultEntries
Number of search result entries returned after the LDAP operation.
-
totalResults:
integer(int32)
Specifies the number of entries created, and returned.
array
-
Array of:
object File System Entry Cache SearchResultEntry
object
-
attributes:
object File System Entry Cache Properties
-
dn:
string
LDAP DN of the entry to be created
object
-
cn(optional):
string
CN (common name) of the entry
-
ds-cfg-cache-directory(optional):
string
Default Value:
/tmp/OpenDS.FSCache
Specifies the directory in which the JE environment should store the cache. -
ds-cfg-cache-level:
integer(int32)
Specifies the cache level in the cache order if more than one instance of the cache is configured.
-
ds-cfg-cache-type(optional):
string
Default Value:
fifo
Allowed Values:[ "fifo", "lru" ]
Specifies the policy which should be used for purging entries from the cache. -
ds-cfg-compact-encoding(optional):
boolean
Default Value:
true
Indicates whether the cache should use a compact form when encoding cache entries by compressing the attribute descriptions and object class sets. -
ds-cfg-db-cache-percent(optional):
integer(int32)
Default Value:
1
Specifies the maximum memory usage for the internal JE cache as a percentage of the total JVM memory. -
ds-cfg-db-cache-size(optional):
string
Default Value:
0b
Specifies the maximum JVM memory usage in bytes for the internal JE cache. -
ds-cfg-enabled:
boolean
Indicates whether the Entry Cache is enabled.
-
ds-cfg-exclude-filter(optional):
array ds-cfg-exclude-filter
The set of filters that define the entries that should be excluded from the cache.
-
ds-cfg-include-filter(optional):
array ds-cfg-include-filter
The set of filters that define the entries that should be included in the cache.
-
ds-cfg-java-class:
string
Default Value:
org.opends.server.extensions.FileSystemEntryCache
Specifies the fully-qualified name of the Java class that provides the File System Entry Cache implementation. -
ds-cfg-je-property(optional):
array ds-cfg-je-property
Specifies the environment properties for the Berkeley DB Java Edition database providing the backend for this entry cache.
-
ds-cfg-lock-timeout(optional):
string
Default Value:
2000.0ms
The length of time to wait while attempting to acquire a read or write lock. -
ds-cfg-max-entries(optional):
integer(int32)
Default Value:
2147483647
The maximum number of entries allowed in the cache. -
ds-cfg-max-memory-size(optional):
string
Default Value:
0b
The maximum size of the entry cache in bytes. -
ds-cfg-persistent-cache(optional):
boolean
Default Value:
false
Specifies whether the cache should persist across restarts. -
objectclass:
array objectclass
Objectclass(es) which this entry belongs to.
array
-
Array of:
string
array
-
Array of:
string
array
[
"je.env.isLocking=false"
]
-
Array of:
string
array
-
Array of:
string
406 Response
object
-
ldapErrorCode(optional):
integer(int32)
Specifies the LDAP error code returned for the operation.
-
message:
string
Error message returned returned for the operation.
-
msgType:
string
Default Value:
urn:ietf:params:rest:schemas:oracle:oud:1.0:ErrorResponse
The REST message type