![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Class allowing to describe distributed processing policy used on local machine. More...
#include <DistributedProcessingPolicy.h>
Public Member Functions | |
| bool | isInit () const |
| retrieve object initialization flag | |
| void | init (const ipUInt64 &maxMemSzForAllLocalDistributedStrip, const ipUInt64 &maxMemSzForRemoteStripRequest, const ipUInt64 &distributedProcessingMemThreshold, const ipUInt64 &maxMemSzForDistributedProcessing, const ipUInt64 &connectionsInitializationTimeOut, const ipUInt64 &distributedAllocationWakeUpTimeout, const ipUInt64 &distributedAllocationFailureTimeout) |
| object initialization | |
| void | initDefault () |
| object default initialization | |
| ipUInt64 | getMaxMemSzForAllLocalDistributedStrip () const |
| retrieve maximum used physical memory (RAM) for sum of all locally stored distributed strip (default : 70% of total physical memory size) More... | |
| ipUInt64 | getMaxMemSzForRemoteStripRequest () const |
| retrieve maximum used physical memory (RAM) for remote strip memory storage request (default : 100000000) More... | |
| ipUInt64 | getDistributedProcessingMemThreshold () const |
| retrieve threshold used to trigger a distributed processing of data (default : 1000000000) More... | |
| ipUInt64 | getMaxMemSzForDistributedProcessing () const |
| retrieve maximum memory size for processed data on a given remote computer (default : 4000000000) More... | |
| ipUInt64 | getConnectionsInitializationTimeOut () const |
| retrieve library time out for network connections initialization (default : 60000) More... | |
| ipUInt64 | getDistributedAllocationWakeUpTimeout () const |
| retrieve time out (in microseconds) used to wake up waiting loop during distributed image allocation. During distributed image allocation we request memory allocation on remote computers and we wait for answers. If, for a reason or another, some computers are slow in reponding (ie with a duration greater to this timeout) allocation request loop will emit a new allocation request to computers which have already answered and then potentially allow them to handle more memory (default value : 5000 -> 5 seconds) More... | |
| ipUInt64 | getDistributedAllocationFailureTimeout () const |
| retrieve time out (in microseconds) used to determine a failure into waiting loop used for distributed image allocation. During distributed image allocation we request memory allocation on remote computers and we wait for answers. If, for a reason or another, computers are slow in reponding (ie with a duration greater to this timeout) allocation request loop will fail (default value : 0 -> infinite wait) More... | |
| void | clear () |
| clear of object data | |
Constructors and destructors | |
| DistributedProcessingPolicy () | |
| ~DistributedProcessingPolicy () | |
Public Member Functions inherited from ipsdk::BaseSerializationObject | |
| BaseSerializationObject () | |
| Default constructor. | |
| virtual | ~BaseSerializationObject ()=0 |
| destructor | |
Public Member Functions inherited from ipsdk::BaseDynamicObject | |
| virtual const std::string & | getClassName () const |
| method allowing to retrieve object class name | |
| virtual BaseDynamicObject * | createNew () const =0 |
| method allowing to create new instance of current object type | |
| virtual DynamicObjectPtr | createShared () const =0 |
| method allowing to create new shared instance of current object type | |
| virtual bool | hasCopySupport () const =0 |
| check whether objet has copy support | |
| virtual BaseDynamicObject * | duplicate () const =0 |
| method allowing to duplicate current object More... | |
| virtual DynamicObjectPtr | duplicateShared () const =0 |
| method allowing shared duplication of current object More... | |
| BaseDynamicObject () | |
| virtual | ~BaseDynamicObject ()=0 |
Protected Member Functions | |
| void | checkValues () |
| checks that provided values are in allowed ranges, and adjust it if not | |
Protected Member Functions inherited from ipsdk::BaseSerializationObject | |
| virtual BoolResult | write (BaseOArchive &ar) const |
| method allowing to ensure serialization write part for object | |
| virtual BoolResult | read (BaseIArchive &ar) |
| method allowing to ensure serialization read part for object | |
Protected Member Functions inherited from ipsdk::BaseDynamicObject | |
| virtual void | initCtorCopy (const BaseDynamicObject &object) |
| virtual void | copy (const BaseDynamicObject &object) |
| method allowing to copy data from another object | |
Additional Inherited Members | |
Static Public Member Functions inherited from ipsdk::BaseSerializationObject | |
| static ipUInt32 | getVersion () |
| method allowing to retrieve class version information for serialization | |
Static Public Member Functions inherited from ipsdk::BaseDynamicObject | |
| static const std::string & | getTypeName () |
| method allowing to retrieve name associated to class | |
Class allowing to describe distributed processing policy used on local machine.
| ipUInt64 ipsdk::core::DistributedProcessingPolicy::getMaxMemSzForAllLocalDistributedStrip | ( | ) | const |
retrieve maximum used physical memory (RAM) for sum of all locally stored distributed strip (default : 70% of total physical memory size)
| ipsdk::core::IPSDKCoreException | if isInit() == false |
| ipUInt64 ipsdk::core::DistributedProcessingPolicy::getMaxMemSzForRemoteStripRequest | ( | ) | const |
retrieve maximum used physical memory (RAM) for remote strip memory storage request (default : 100000000)
| ipsdk::core::IPSDKCoreException | if isInit() == false |
| ipUInt64 ipsdk::core::DistributedProcessingPolicy::getDistributedProcessingMemThreshold | ( | ) | const |
retrieve threshold used to trigger a distributed processing of data (default : 1000000000)
| ipsdk::core::IPSDKCoreException | if isInit() == false |
| ipUInt64 ipsdk::core::DistributedProcessingPolicy::getMaxMemSzForDistributedProcessing | ( | ) | const |
retrieve maximum memory size for processed data on a given remote computer (default : 4000000000)
| ipsdk::core::IPSDKCoreException | if isInit() == false |
| ipUInt64 ipsdk::core::DistributedProcessingPolicy::getConnectionsInitializationTimeOut | ( | ) | const |
retrieve library time out for network connections initialization (default : 60000)
| ipsdk::core::IPSDKCoreException | if isInit() == false |
| ipUInt64 ipsdk::core::DistributedProcessingPolicy::getDistributedAllocationWakeUpTimeout | ( | ) | const |
retrieve time out (in microseconds) used to wake up waiting loop during distributed image allocation. During distributed image allocation we request memory allocation on remote computers and we wait for answers. If, for a reason or another, some computers are slow in reponding (ie with a duration greater to this timeout) allocation request loop will emit a new allocation request to computers which have already answered and then potentially allow them to handle more memory (default value : 5000 -> 5 seconds)
| ipsdk::core::IPSDKCoreException | if isInit() == false |
| ipUInt64 ipsdk::core::DistributedProcessingPolicy::getDistributedAllocationFailureTimeout | ( | ) | const |
retrieve time out (in microseconds) used to determine a failure into waiting loop used for distributed image allocation. During distributed image allocation we request memory allocation on remote computers and we wait for answers. If, for a reason or another, computers are slow in reponding (ie with a duration greater to this timeout) allocation request loop will fail (default value : 0 -> infinite wait)
| ipsdk::core::IPSDKCoreException | if isInit() == false |
|
protected |
maximum used physical memory (RAM) for sum of all locally stored distributed strip (default : 70% of total physical memory size)
|
protected |
maximum used physical memory (RAM) for remote strip memory storage request (default : 100000000)
|
protected |
threshold used to trigger a distributed processing of data (default : 1000000000)
|
protected |
maximum memory size for processed data on a given remote computer (default : 4000000000)
|
protected |
library time out for network connections initialization (default : 60000)
|
protected |
time out (in microseconds) used to wake up waiting loop during distributed image allocation. During distributed image allocation we request memory allocation on remote computers and we wait for answers. If, for a reason or another, some computers are slow in reponding (ie with a duration greater to this timeout) allocation request loop will emit a new allocation request to computers which have already answered and then potentially allow them to handle more memory (default value : 5000 -> 5 seconds)
|
protected |
time out (in microseconds) used to determine a failure into waiting loop used for distributed image allocation. During distributed image allocation we request memory allocation on remote computers and we wait for answers. If, for a reason or another, computers are slow in reponding (ie with a duration greater to this timeout) allocation request loop will fail (default value : 0 -> infinite wait)
1.8.14