public synchronized Association load(String handle) { removeExpired(); return (Association) _handleMap.get(handle); }
public synchronized Association load(String handle) { removeExpired(); return (Association) _handleMap.get(handle); }
public synchronized Association load(String handle) { removeExpired(); return (Association) _handleMap.get(handle); }
public synchronized Association load(String handle) { removeExpired(); return (Association) _handleMap.get(handle); }
public synchronized Association load(String handle) { removeExpired(); return (Association) _handleMap.get(handle); }
public synchronized void remove(String handle) { if (DEBUG) _log.debug("Removing association, handle: " + handle); _handleMap.remove(handle); removeExpired(); }
public synchronized void remove(String handle) { if (DEBUG) _log.debug("Removing association, handle: " + handle); _handleMap.remove(handle); removeExpired(); }
public synchronized void remove(String handle) { if (DEBUG) _log.debug("Removing association, handle: " + handle); _handleMap.remove(handle); removeExpired(); }
public synchronized void remove(String handle) { if (DEBUG) { _log.debug("Removing association, handle: " + handle); } _handleMap.remove(handle); removeExpired(); }
public synchronized void remove(String handle) { if (DEBUG) _log.debug("Removing association, handle: " + handle); _handleMap.remove(handle); removeExpired(); }
public synchronized Association generate(String type, int expiryIn) throws AssociationException { removeExpired(); String handle = _timestamp + "-" + _counter++; Association association = Association.generate(type, handle, expiryIn); _handleMap.put(handle, association); if (DEBUG) _log.debug("Generated association, handle: " + handle + " type: " + type + " expires in: " + expiryIn + " seconds."); return association; }
public synchronized Association generate(String type, int expiryIn) throws AssociationException { removeExpired(); String handle = _timestamp + "-" + _counter++; Association association = Association.generate(type, handle, expiryIn); _handleMap.put(handle, association); if (DEBUG) _log.debug("Generated association, handle: " + handle + " type: " + type + " expires in: " + expiryIn + " seconds."); return association; }
public synchronized Association generate(String type, int expiryIn) throws AssociationException { removeExpired(); String handle = _timestamp + "-" + _counter++; Association association = Association.generate(type, handle, expiryIn); _handleMap.put(handle, association); if (DEBUG) _log.debug("Generated association, handle: " + handle + " type: " + type + " expires in: " + expiryIn + " seconds."); return association; }
public synchronized Association generate(String type, int expiryIn) throws AssociationException { removeExpired(); String handle = _timestamp + "-" + _counter++; Association association = Association.generate(type, handle, expiryIn); _handleMap.put(handle, association); if (DEBUG) _log.debug("Generated association, handle: " + handle + " type: " + type + " expires in: " + expiryIn + " seconds."); return association; }
public synchronized Association generate(String type, int expiryIn) throws AssociationException { removeExpired(); String handle = _timestamp + "-" + _counter++; Association association = Association.generate(type, handle, expiryIn); _handleMap.put(handle, association); if (DEBUG) { _log.debug("Generated association, handle: " + handle + " type: " + type + " expires in: " + expiryIn + " seconds."); } return association; }