private static class Utilities.ServerKey extends WeakSoftTable.WeakKey
| Modifier and Type | Field and Description |
|---|---|
(package private) Set |
permittedLocalPrincipals |
| Constructor and Description |
|---|
ServerKey(Subject subject,
Set permittedLocalPrincipals)
Creates a key for the specified subject and local principals
|
ServerKey(Utilities.ServerKey serverKey,
ReferenceQueue queue)
Copies the key to the queue
|
| Modifier and Type | Method and Description |
|---|---|
WeakSoftTable.RemovableReference |
copy(ReferenceQueue queue)
Returns a copy of this instance registered with the specified queue.
|
boolean |
equals(Object other)
Returns true if the argument is an instance of the same concrete
class, and if both objects had null keys, or if neither object has
had its weak key cleared and their values are ==.
|
int |
hashCode() |
clearedclear, enqueue, get, isEnqueuedfinal Set permittedLocalPrincipals
ServerKey(Subject subject, Set permittedLocalPrincipals)
ServerKey(Utilities.ServerKey serverKey, ReferenceQueue queue)
public WeakSoftTable.RemovableReference copy(ReferenceQueue queue)
WeakSoftTable.RemovableReferencecopy in interface WeakSoftTable.RemovableReferencecopy in class WeakSoftTable.WeakKeyqueue - the queue with which this instance should be registeredpublic int hashCode()
hashCode in class WeakSoftTable.WeakKeypublic boolean equals(Object other)
WeakSoftTable.WeakKeyequals in class WeakSoftTable.WeakKeyCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.