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() |
cleared
clear, enqueue, get, isEnqueued
final Set permittedLocalPrincipals
ServerKey(Subject subject, Set permittedLocalPrincipals)
ServerKey(Utilities.ServerKey serverKey, ReferenceQueue queue)
public WeakSoftTable.RemovableReference copy(ReferenceQueue queue)
WeakSoftTable.RemovableReference
copy
in interface WeakSoftTable.RemovableReference
copy
in class WeakSoftTable.WeakKey
queue
- the queue with which this instance should be registeredpublic int hashCode()
hashCode
in class WeakSoftTable.WeakKey
public boolean equals(Object other)
WeakSoftTable.WeakKey
equals
in class WeakSoftTable.WeakKey
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.