Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ getNodeProcessorSocketCountAsync() [2/2]

std::function< void()> IceGrid::AdminPrx::getNodeProcessorSocketCountAsync ( std::string_view name,
std::function< void(std::int32_t)> response,
std::function< void(std::exception_ptr)> exception = nullptr,
std::function< void(bool)> sent = nullptr,
const Ice::Context & context = Ice::noExplicitContext ) const

Gets the number of physical processor sockets in the computer where an IceGrid node is deployed.

Note that this operation returns 1 on operating systems where this can't be automatically determined and where the IceGrid.Node.ProcessorSocketCount property for the node is not set.

Parameters
nameThe node name.
responseThe response callback. It accepts:
  • The number of processor sockets or 1 if the number of sockets can't be determined.
exceptionThe exception callback.
sentThe sent callback.
contextThe request context.
Returns
A function that can be called to cancel the invocation locally.