Iray SDK API nvidia_logo_transpbg.gif Up
icache_manager.h
Go to the documentation of this file.
1/***************************************************************************************************
2 * Copyright 2025 NVIDIA Corporation. All rights reserved.
3 **************************************************************************************************/
6
7#ifndef MI_NEURAYLIB_ICACHE_MANAGER_H
8#define MI_NEURAYLIB_ICACHE_MANAGER_H
9
11
12namespace mi {
13
14class IString;
15
16namespace neuraylib {
17
26class ICache_manager : public
27 mi::base::Interface_declare<0x6b063e2d,0x41cf,0x4a48,0x8b,0xdf,0x2e,0x41,0x65,0xfe,0x48,0xb7>
28{
29public:
49 virtual Sint32 start( const char* listen_address, const char* directory) = 0;
50
56 virtual Sint32 shutdown() = 0;
57
71 const char* address, const char* user_name, const char* password) = 0;
72
74 virtual const IString* get_http_address() const = 0;
75
77 virtual const IString* get_http_user_name() const = 0;
78
80 virtual const IString* get_http_password() const = 0;
81
95 virtual Sint32 set_multicast_address( const char* address) = 0;
96
98 virtual const IString* get_multicast_address() const = 0;
99
111 virtual Sint32 set_cluster_interface( const char* address) = 0;
112
114 virtual const IString* get_cluster_interface() const = 0;
115
124 virtual Sint32 set_use_rdma( bool use_rdma) = 0;
125
129 virtual bool get_use_rdma() const = 0;
130
140 virtual Sint32 set_rdma_interface( const char* rdma_interface) = 0;
141
148 virtual const IString* get_rdma_interface() const = 0;
149
161 virtual Sint32 set_admin_http_address( const char* address) = 0;
162
164 virtual const IString* get_admin_http_address() const = 0;
165
190 virtual Sint32 set_memory_limits( Size low_water, Size high_water) = 0;
191
193 virtual void get_memory_limits( Size* low_water, Size* high_water) const = 0;
194
199 virtual Sint32 set_reference_count_checking( bool enabled) = 0;
200
202 virtual bool get_reference_count_checking() const = 0;
203};
204
207 mi::base::Interface_declare<0xd5908356,0x1686,0x4299,0xae,0x10,0x8c,0x88,0x71,0x43,0x1f,0x04>
208{
209public:
212};
213
214} // namespace neuraylib
215
216} // namespace mi
217
218#endif // MI_NEURAYLIB_ICACHE_MANAGER_H
A simple string class.
Definition: istring.h:22
Mixin class template for deriving new interface declarations.
Definition: interface_declare.h:43
This factory allows to create cache manager instances.
Definition: icache_manager.h:208
virtual ICache_manager * create_cache_manager()=0
Creates a new cache manager instance.
Represents an instance of the cache manager.
Definition: icache_manager.h:28
virtual const IString * get_admin_http_address() const =0
Returns the address of the admin HTTP server, or nullptr if none is set.
virtual const IString * get_http_password() const =0
Returns the password for the HTTP server, or nullptr if none is set.
virtual const IString * get_http_address() const =0
Returns the address of the HTTP server, or nullptr if none is set.
virtual const IString * get_rdma_interface() const =0
Returns RDMA InfiniBand interface to be used.
virtual bool get_reference_count_checking() const =0
Indicates whether checking of reference counts is enabled.
virtual Sint32 set_use_rdma(bool use_rdma)=0
Enables or disables the usage of RDMA InfiniBand.
virtual bool get_use_rdma() const =0
Indicates whether RDMA InfiniBand is enabled.
virtual Sint32 set_http_address(const char *address, const char *user_name, const char *password)=0
Sets the address and authentication information of the HTTP server.
virtual const IString * get_cluster_interface() const =0
Returns the cluster interface, or nullptr if none is set.
virtual const IString * get_http_user_name() const =0
Returns the user name for the HTTP server, or nullptr if none is set.
virtual Sint32 shutdown()=0
Shuts down the cache manager.
virtual Sint32 set_admin_http_address(const char *address)=0
Sets the address for the administrative HTTP server.
virtual Sint32 set_multicast_address(const char *address)=0
Sets the multicast address of the cache manager.
virtual Sint32 set_memory_limits(Size low_water, Size high_water)=0
Sets the memory limits for the garbage collection.
virtual void get_memory_limits(Size *low_water, Size *high_water) const =0
Returns the memory limits for the garbage collection.
virtual Sint32 start(const char *listen_address, const char *directory)=0
Starts the cache manager.
virtual Sint32 set_cluster_interface(const char *address)=0
Sets the cluster interface used by the cache manager.
virtual Sint32 set_rdma_interface(const char *rdma_interface)=0
Set the RDMA InfiniBand interface to be used.
virtual Sint32 set_reference_count_checking(bool enabled)=0
Enables or disables checking of reference counts.
virtual const IString * get_multicast_address() const =0
Returns the multicast address, or nullptr if none is set.
int Sint32
32-bit signed integer.
Definition: types.h:46
Uint64 Size
Unsigned integral type that is large enough to hold the size of all types.
Definition: types.h:112
Mixin class template for deriving new interface declarations.
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: neuraylib.h:179