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

◆ getNodeProcessorSocketCountAsync()

virtual void IceGrid::AsyncAdmin::getNodeProcessorSocketCountAsync ( std::string name,
std::function< void(std::int32_t returnValue)> response,
std::function< void(std::exception_ptr)> exception,
const Ice::Current & current ) const
pure virtual

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.
currentThe Current object of the incoming request.
Exceptions
IceGrid::NodeNotExistExceptionThrown when the node doesn't exist.
IceGrid::NodeUnreachableExceptionThrown when the node is unreachable.