public class LeaseUtils extends Object
Modifier and Type | Field and Description |
---|---|
static long |
DISCARD_LEASE |
Constructor and Description |
---|
LeaseUtils() |
Modifier and Type | Method and Description |
---|---|
static long |
safeAdd(long x,
long y) |
static long |
toExpiration(long duration) |
static Map<SpaceLease,Throwable> |
updateBatch(IDirectSpaceProxy spaceProxy,
LeaseUpdateBatch batch) |
static void |
updateBatchAsync(IDirectSpaceProxy spaceProxy,
LeaseUpdateBatch batch,
AsyncFutureListener<Map<SpaceLease,Throwable>> listener) |
public static final long DISCARD_LEASE
public static long toExpiration(long duration)
public static long safeAdd(long x, long y)
public static Map<SpaceLease,Throwable> updateBatch(IDirectSpaceProxy spaceProxy, LeaseUpdateBatch batch)
public static void updateBatchAsync(IDirectSpaceProxy spaceProxy, LeaseUpdateBatch batch, AsyncFutureListener<Map<SpaceLease,Throwable>> listener)
Copyright © GigaSpaces.