File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
src/main/java/com/cryptlex/lexactivator Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -370,13 +370,14 @@ public static void SetReleaseChannel(String releaseChannel) throws LexActivatorE
370
370
}
371
371
372
372
/**
373
- * Sets the lease duration for the activation.
373
+ * Sets the lease duration for the activation. The activation lease duration
374
+ * is honoured when the allow client lease duration property is enabled.
374
375
*
375
- * @param leaseDuration
376
+ * @param leaseDuration value of the lease duration. A value of -1 indicates unlimited lease duration.
376
377
*
377
378
* @throws LexActivatorException
378
379
*/
379
- public static void SetActivationLeaseDuration (int leaseDuration ) throws LexActivatorException {
380
+ public static void SetActivationLeaseDuration (long leaseDuration ) throws LexActivatorException {
380
381
int status ;
381
382
status = LexActivatorNative .SetActivationLeaseDuration (leaseDuration );
382
383
if (LA_OK != status ) {
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ public interface ReleaseUpdateCallbackTypeA extends Callback {
89
89
90
90
public static native int SetReleaseChannel (WString releaseChannel );
91
91
92
- public static native int SetActivationLeaseDuration (int leaseDuration );
92
+ public static native int SetActivationLeaseDuration (long leaseDuration );
93
93
94
94
public static native int SetOfflineActivationRequestMeterAttributeUses (String name , int uses );
95
95
You can’t perform that action at this time.
0 commit comments