Property Name |
Mandatory |
Default |
Desciption |
HawkConstants.HAWK_DOMAIN |
No |
default |
The hawk domain |
HawkConstants.HAWK_AGENT_NAME |
No |
hostname of the machine on which the program runs |
It should be set to the Hawk Agent's agent_name running on
the same machine. By default, that is its hostname. This tells
the API to which agent the AMI application should pair with. |
HawkConstants.HAWK_TRANSPORT |
No |
HawkConstants.HAWK_TRANSPORT_TIBAS |
Choice of transport. Can be one of
HawkConstants.HAWK_TRANSPORT_TIBAS or
HawkConstants.HAWK_TRANSPORT_TIBRV |
HawkConstants.AMI_TRACE |
No |
A default AMI trace |
The AMI trace object |
Properties when hawk transport is tibas: |
HawkConstants.PROP_AS_LISTEN_URL |
No |
<host>:50000 |
-listen parameter of AS |
HawkConstants.PROP_AS_DISCOVER_URL |
No |
tibpgm://(default provided by AS) |
-discover parameter of AS |
HawkConstants.PROP_AS_MEMBER_NAME |
No |
A unique name generated by ActiveSpaces |
Each member can be given a name. Member names have to be
unique in the cluster |
HawkConstants.PROP_TRANSPORT_TIMEOUT |
No |
30000 |
All internal synchronous communications will use this
default timeout in milliseconds |
HawkConstants.PROP_AS_RECEIVE_BUFFER_SIZE |
No |
1000 |
Internal memory size allocation in bytes |
HawkConstants.PROP_AS_VIRTUAL_NODE_COUNT |
No |
100 |
Internal parameter for even distribution of data in
seeders |
HawkConstants.PROP_AS_WORKER_THREAD_COUNT |
No |
32 |
Number of threads used by ActiveSpaces API |
HawkConstants.PROP_AS_CONNECTION_RETRY_COUNT |
No |
3 |
Maximum number of retry attempts to be made while establishing connection to ActiveSpaces. If configured to zero, then no retry will be made. |
HawkConstants.HAWK_AMI_SESSION_ID |
No |
Ami Session Name |
In some cases, a single process might start multiple AMI
sessions. In that case, this should be uniquely specified for
each of the sessions |
Properties when hawk transport is tibrv: |
HawkConstants.RV_TRANSPORT |
No |
null |
TibrvTransport object |
HawkConstants.RV_QUEUE |
No |
null |
TibrvQueue object |
HawkConstants.RV_SERVICE |
No |
7500 |
Rendezvous service name |
HawkConstants.RV_NETWORK |
No |
; |
Rendezvous Network |
HawkConstants.RV_DAEMON |
No |
tcp:7500 |
Rendezvous Deamon |