com.alibaba.dubbo.cache.support.threadlocal
Class ThreadLocalCache

java.lang.Object
  extended by com.alibaba.dubbo.cache.support.threadlocal.ThreadLocalCache
All Implemented Interfaces:
Cache

public class ThreadLocalCache
extends Object
implements Cache

ThreadLocalCache

Author:
william.liangf

Constructor Summary
ThreadLocalCache(URL url)
           
 
Method Summary
 Object get(Object key)
           
 void put(Object key, Object value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadLocalCache

public ThreadLocalCache(URL url)
Method Detail

put

public void put(Object key,
                Object value)
Specified by:
put in interface Cache

get

public Object get(Object key)
Specified by:
get in interface Cache


Copyright © 2012–2017 Alibaba. All rights reserved.