com.atlassian.confluence.user
Class UsernameCacheKey

java.lang.Object
  extended by com.atlassian.confluence.user.UsernameCacheKey

public class UsernameCacheKey
extends Object

A class that represents a username. The only reason this currently exists is so we can have a custom type to do lookups by username on the request ThreadLocalCache.

Since:
v4.3.3

Constructor Summary
UsernameCacheKey(String username)
           
 
Method Summary
 boolean equals(Object obj)
           
 String get()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UsernameCacheKey

public UsernameCacheKey(String username)
Method Detail

get

public String get()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2013 Atlassian. All Rights Reserved.