// Simple resource mapper -- we use a static int to ensure that // each lease resource will have a unique cookie synchronized (ServerResource.class) { cookie = new Integer(token++); } this.sessionData = sessionData;
return cookie;
return expiration;
expiration = expire;