- getDiscoveryAttempts() - Method in class org.tiian.flom.FlomHandle
-
Get the maximum number of attempts that will be tryed during
auto-discovery phase using UDP/IP multicast (see
getMulticastAddress, getMulticastPort).
- getDiscoveryTimeout() - Method in class org.tiian.flom.FlomHandle
-
Get the number of milliseconds between two consecutive attempts that
will be tryed during auto-discovery phase using UDP/IP multicast (see
getMulticastAddress, getMulticastPort).
- getDiscoveryTtl() - Method in class org.tiian.flom.FlomHandle
-
Get the UDP/IP multicast TTL parameter used during auto-discovery
phase; for a definition of the parameter, see
http://www.tldp.org/HOWTO/Multicast-HOWTO-2.html
.
- getLockedElement() - Method in class org.tiian.flom.FlomHandle
-
Get the name of the locked element if the resource is of type set;
this method throws an exception if the name of the locked element is
not available
- getLockMode() - Method in class org.tiian.flom.FlomHandle
-
Get lock mode property: how a simple or hierarchical resource will
be locked when method lock is called; FLoM
supports the same lock mode semantic proposed by DLM, see
http://en.wikipedia.org/wiki/Distributed_lock_manager#Lock_modes
for a detailed explanation
.
- getMulticastAddress() - Method in class org.tiian.flom.FlomHandle
-
Get the multicast address: the IP address (or a network name that
the system can resolve) of the IP multicast group that must be
contacted to reach FLoM daemon (server) using UDP/IP; see also
getMulticastPort.
- getMulticastPort() - Method in class org.tiian.flom.FlomHandle
-
Get the UDP/IP multicast port that must be used to contact the FLoM
daemon (server) using UDP/IP; see also getMulticastAddress.
- getNetworkInterface() - Method in class org.tiian.flom.FlomHandle
-
Get the network interface that must be used for IPv6 link local
addresses
The current value can be altered using method
setNetworkInterface.
- getResourceCreate() - Method in class org.tiian.flom.FlomHandle
-
Get the UDP/IP multicast port that must be used to contact the FLoM
daemon (server) using UDP/IP; see also getMulticastAddress.
- getResourceIdleLifespan() - Method in class org.tiian.flom.FlomHandle
-
Get "resource idle lifespan" property: it specifies how many
milliseconds a resource will be kept after the last locker released
it; the expiration is necessary to avoid useless resource allocation.
- getResourceName() - Method in class org.tiian.flom.FlomHandle
-
Get the resource name: the name of the resource that can be locked
and unlocked using lock and unlock methods.
- getResourceQuantity() - Method in class org.tiian.flom.FlomHandle
-
Get "resource quantity" property: the number of units that will be
locked and unlocked using lock and unlock methods.
- getResourceTimeout() - Method in class org.tiian.flom.FlomHandle
-
Get "resource timeout" property: how long a lock operation
(see lock) will wait if the resource is locked
by another requester.
- getReturnCode() - Method in exception org.tiian.flom.FlomException
-
Get the return code of the native C function that returned an error
condition to the JNI wrapper method
- getSocketName() - Method in class org.tiian.flom.FlomHandle
-
Get the socket name: the AF_LOCAL/AF_UNIX socket name that must be
used to contact a local FLoM daemon (server).
- getText(int) - Static method in class org.tiian.flom.FlomErrorCodes
-
Retrieve the text associated to a FLoM code
- getTlsCaCertificate() - Method in class org.tiian.flom.FlomHandle
-
Get the TLS CA certificate file name.
- getTlsCertificate() - Method in class org.tiian.flom.FlomHandle
-
Get the TLS certificate file name.
- getTlsCheckPeerId() - Method in class org.tiian.flom.FlomHandle
-
Get the TLS check peer ID flag value.
- getTlsPrivateKey() - Method in class org.tiian.flom.FlomHandle
-
Get the TLS private key file name.
- getTraceFilename() - Method in class org.tiian.flom.FlomHandle
-
Get the trace filename: the name (absolute or relative path) used
by libflom (FLoM client library) to record trace messages.
- getUnicastAddress() - Method in class org.tiian.flom.FlomHandle
-
Get the unicast address: the IP address (or a network name that the
system can resolve) of the host that must be contacted
to reach FLoM daemon (server) using TCP/IP; see also
getUnicastPort.
- getUnicastPort() - Method in class org.tiian.flom.FlomHandle
-
Get the TCP/IP unicast port that must be used to contact the FLoM
daemon (server) using TCP/IP; see also getUnicastAddress.
- setDiscoveryAttempts(int) - Method in class org.tiian.flom.FlomHandle
-
Set the maximum number of attempts that will be tryed during
auto-discovery phase using UDP/IP multicast (see
setMulticastAddress, setMulticastPort).
- setDiscoveryTimeout(int) - Method in class org.tiian.flom.FlomHandle
-
Set the number of milliseconds between two consecutive attempts that
will be tryed during auto-discovery phase using UDP/IP multicast (see
setMulticastAddress, setMulticastPort).
- setDiscoveryTtl(int) - Method in class org.tiian.flom.FlomHandle
-
Set the UDP/IP multicast TTL parameter used during auto-discovery
phase; for a definition of the parameter, see
http://www.tldp.org/HOWTO/Multicast-HOWTO-2.html
.
- setLockMode(int) - Method in class org.tiian.flom.FlomHandle
-
Set lock mode property: how a simple or hierarchical resource will
be locked when method lock is called; FLoM
supports the same lock mode semantic proposed by DLM, see
http://en.wikipedia.org/wiki/Distributed_lock_manager#Lock_modes
for a detailed explanation
.
- setMulticastAddress(String) - Method in class org.tiian.flom.FlomHandle
-
Set the multicast address: the IP address (or a network name that
the system can resolve) of the IP multicast group that must be
contacted to reach FLoM daemon (server) using UDP/IP; see also
setMulticastPort.
- setMulticastPort(int) - Method in class org.tiian.flom.FlomHandle
-
Set the UDP/IP multicast port that must be used to contact the FLoM
daemon (server) using UDP/IP; see also setMulticastAddress.
- setNetworkInterface(String) - Method in class org.tiian.flom.FlomHandle
-
Set the network interface that must be used for IPv6 link local
addresses
The current value can be inspected using method
getNetworkInterface.
- setResourceCreate(boolean) - Method in class org.tiian.flom.FlomHandle
-
Set "resource create" boolean property: it specifies if method
lock can create a new resource when the specified
one is not defined.
- setResourceIdleLifespan(int) - Method in class org.tiian.flom.FlomHandle
-
Set "resource idle lifespan" property: it specifies how many
milliseconds a resource will be kept after the last locker released
it; the expiration is necessary to avoid useless resource allocation.
- setResourceName(String) - Method in class org.tiian.flom.FlomHandle
-
Set the resource name: the name of the resource that can be locked
and unlocked using lock and unlock methods.
- setResourceQuantity(int) - Method in class org.tiian.flom.FlomHandle
-
Set "resource quantity" property: the number of units that will be
locked and unlocked using lock and unlock methods.
- setResourceTimeout(int) - Method in class org.tiian.flom.FlomHandle
-
Set "resource timeout" property: how long a lock operation
(see lock) will wait if the resource is locked
by another requester.
- setSocketName(String) - Method in class org.tiian.flom.FlomHandle
-
Set the socket name: the AF_LOCAL/AF_UNIX socket name that must be
used to contact a local FLoM daemon (server).
- setTlsCaCertificate(String) - Method in class org.tiian.flom.FlomHandle
-
Set the TLS CA certificate file name.
- setTlsCertificate(String) - Method in class org.tiian.flom.FlomHandle
-
Set the TLS certificate file name.
- setTlsCheckPeerId(boolean) - Method in class org.tiian.flom.FlomHandle
-
Set "TLS check peer ID" boolean property: it specifies if this node
must check the unique ID presented by the remote peer.
- setTlsPrivateKey(String) - Method in class org.tiian.flom.FlomHandle
-
Set the TLS CA private key file name.
- setTraceFilename(String) - Method in class org.tiian.flom.FlomHandle
-
Set the trace filename: the name (absolute or relative path) used
by libflom (FLoM client library) to record trace messages.
- setUnicastAddress(String) - Method in class org.tiian.flom.FlomHandle
-
Set the unicast address: the IP address (or a network name that the
system can resolve) of the host that must be contacted
to reach FLoM daemon (server) using TCP/IP; see also
setUnicastPort.
- setUnicastPort(int) - Method in class org.tiian.flom.FlomHandle
-
Set the TCP/IP unicast port that must be used to contact the FLoM
daemon (server) using TCP/IP; see also setUnicastAddress.