|Constructor and Description|
Create a new
|Modifier and Type||Method and Description|
Return a new
LeaseFactorythat will create
LandlordLeases with the specified
landlord- the inner proxy that the leases will use to communicate back to the server.
landlordUuid- a universally unique id that has been assigned to the server granting of the lease. Ideally the
landlord.getUuidwould return if
ReferentUuid. Used to determine when two leases can be batched together.
NullPointerException- if either argument is
public LandlordLease newLease(Uuid cookie, long expiration)
LandlordLeasewith the specified initial expiration and cookie using the inner proxy and
Uuidthe factory was created with. Will return a
ConstrainableLandlordLeaseif inner proxy this factory was created with implements
Uuidthat will universally and uniquely identify the lease
expiration- the initial expiration time of the lease.
NullPointerException- if the
public TrustVerifier getVerifier()
TrustVerifierthat will verify the proxies produced by this factory. Currently the verifier returned will be an instance of
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.