com.alibaba.dubbo.common.store.support
Class SimpleDataStore

java.lang.Object
  extended by com.alibaba.dubbo.common.store.support.SimpleDataStore
All Implemented Interfaces:
DataStore

public class SimpleDataStore
extends Object
implements DataStore

Author:
ding.lid, kimi

Constructor Summary
SimpleDataStore()
           
 
Method Summary
 Map<String,Object> get(String componentName)
          return a snapshot value of componentName
 Object get(String componentName, String key)
           
 void put(String componentName, String key, Object value)
           
 void remove(String componentName, String key)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleDataStore

public SimpleDataStore()
Method Detail

get

public Map<String,Object> get(String componentName)
Description copied from interface: DataStore
return a snapshot value of componentName

Specified by:
get in interface DataStore

get

public Object get(String componentName,
                  String key)
Specified by:
get in interface DataStore

put

public void put(String componentName,
                String key,
                Object value)
Specified by:
put in interface DataStore

remove

public void remove(String componentName,
                   String key)
Specified by:
remove in interface DataStore


Copyright © 2012–2017 Alibaba. All rights reserved.