Register package located in a file containing user defined functions with server.
This asynchronous server call will return before command is complete.
The user can optionally wait for command completion by using the returned
RegisterTask instance.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 3.4.0.0 (3.4.1)
Syntax
Parameters
- policy
- Type: Aerospike.Client Policy
generic configuration parameters, pass in null for defaults
- clientPath
- Type:
System String
path of client file containing user defined functions, relative to current directory
- serverPath
- Type:
System String
path to store user defined functions on the server, relative to configured script directory.
- language
- Type: Aerospike.Client Language
language of user defined functions
Exceptions
Exception | Condition |
---|---|
Aerospike.Client AerospikeException | if register fails |
See Also