|
GPU-Accelerated Cuckoo Filter
|
Server implementation for the IPC Cuckoo Filter. More...
Public Member Functions | |
| FilterIPCServer (const std::string &name, size_t capacity) | |
| Constructs a new FilterIPCServer. | |
| ~FilterIPCServer () | |
| Destroys the FilterIPCServer. | |
| void | start () |
| Starts the worker thread to process requests. | |
| void | stop (bool force=false) |
| Stops the server. | |
| Filter< Config > * | getFilter () |
| Returns a pointer to the underlying Filter instance. | |
Server implementation for the IPC Cuckoo Filter.
This class manages the shared memory segment and processes requests from clients. It runs a worker thread that polls the shared queue and executes filter operations on the GPU.
Definition at line 193 of file CuckooFilterIPC.cuh.
|
inline |
Constructs a new FilterIPCServer.
Creates the shared memory segment and initializes the shared queue.
| name | Unique name for the shared memory segment. |
| capacity | Capacity of the Cuckoo Filter. |
Definition at line 320 of file CuckooFilterIPC.cuh.
|
inline |
Destroys the FilterIPCServer.
Stops the server, cleans up shared memory and resources.
Definition at line 364 of file CuckooFilterIPC.cuh.
|
inline |
Returns a pointer to the underlying Filter instance.
Definition at line 444 of file CuckooFilterIPC.cuh.
|
inline |
Starts the worker thread to process requests.
Definition at line 384 of file CuckooFilterIPC.cuh.
|
inline |
Stops the server.
| force | If true, cancels pending requests immediately. If false, waits for pending requests to complete. |
Definition at line 399 of file CuckooFilterIPC.cuh.