Bypass Cache#
Enumerations#
- OmniClientCacheBypassStatus
Cache Bypass Status If enabled, the cache is being bypassed to workaround misbehaving cache.
Functions#
- char const * omniClientGetCacheBypassStatusString(OmniClientCacheBypassStatus status)
Retrieve a human readable string for a cache bypass status.
- uint32_t omniClientRegisterCacheBypassStatusCallback(void *userData, OmniClientCacheBypassStatusCallback callback)
Register a callback to receive cache bypass status updates.
- OmniClientCacheBypassStatus omniClientSetCacheBypassStatus(OmniClientCacheBypassStatus status)
Set the cache bypass status. The function will not call the callback registered with omniClientRegisterCacheBypassStatusCallback.
Typedefs#
- OmniClientCacheBypassStatusCallback
This is called any time any cache status changes.
Enumerations#
-
enum OmniClientCacheBypassStatus#
Cache Bypass Status If enabled, the cache is being bypassed to workaround misbehaving cache.
Values:
-
enumerator eOmniClientCacheBypassStatus_Enabled#
Omniverse Cache is being actively bypassed.
-
enumerator eOmniClientCacheBypassStatus_Disabled#
Omniverse Cache is not being bypassed.
-
enumerator Count_eOmniClientCacheBypassStatus#
-
enumerator eOmniClientCacheBypassStatus_Enabled#
Functions#
- char const *omniClientGetCacheBypassStatusString(
- OmniClientCacheBypassStatus status,
Retrieve a human readable string for a cache bypass status.
- Parameters:
status – The cache bypass status to get the string for
- Returns:
A human-readable string for the cache bypass status
- uint32_t omniClientRegisterCacheBypassStatusCallback(
- void *userData,
- OmniClientCacheBypassStatusCallback callback,
Register a callback to receive cache bypass status updates.
- Parameters:
userData – User data passed to the callback
callback – The callback function to register
- Returns:
A handle that you can use with omniClientUnregisterCallback
- OmniClientCacheBypassStatus omniClientSetCacheBypassStatus(
- OmniClientCacheBypassStatus status,
Set the cache bypass status. The function will not call the callback registered with omniClientRegisterCacheBypassStatusCallback.
- Parameters:
status – The new cache bypass status to set
- Returns:
The previous cache bypass status
Typedefs#
-
typedef void (*OmniClientCacheBypassStatusCallback)(void *userData, OmniClientCacheBypassStatus status)#
This is called any time any cache status changes.