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

◆ setAllocationTimeout()

void IceGrid::SessionPrx::setAllocationTimeout ( std::int32_t timeout,
const Ice::Context & context = Ice::noExplicitContext ) const

Sets the allocation timeout.

When no object is immediately available for an allocation request, the implementation of IceGrid::SessionPrx::allocateObjectById and IceGrid::SessionPrx::allocateObjectByType waits for the duration of this timeout.

Parameters
timeoutThe timeout in milliseconds.
contextThe request context.