com.google.code.ssm.test.dao
Class MultiCacheDAOImpl

java.lang.Object
  extended by com.google.code.ssm.test.dao.MultiCacheDAOImpl
All Implemented Interfaces:
MultiCacheDAO

@Repository(value="multiCacheDao")
public class MultiCacheDAOImpl
extends Object
implements MultiCacheDAO

Author:
Jakub BiaƂek

Constructor Summary
MultiCacheDAOImpl()
           
 
Method Summary
 String getFromDedicated(String key)
           
 String getFromDefault(String key)
           
 void removeFromDedicated(String key)
           
 void removeFromDefault(String key)
           
 void storeToDedicated(String key, String value)
           
 void storeToDefault(String key, String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiCacheDAOImpl

public MultiCacheDAOImpl()
Method Detail

storeToDefault

public void storeToDefault(String key,
                           String value)
Specified by:
storeToDefault in interface MultiCacheDAO

getFromDefault

public String getFromDefault(String key)
Specified by:
getFromDefault in interface MultiCacheDAO

removeFromDefault

public void removeFromDefault(String key)
Specified by:
removeFromDefault in interface MultiCacheDAO

storeToDedicated

public void storeToDedicated(String key,
                             String value)
Specified by:
storeToDedicated in interface MultiCacheDAO

getFromDedicated

public String getFromDedicated(String key)
Specified by:
getFromDedicated in interface MultiCacheDAO

removeFromDedicated

public void removeFromDedicated(String key)
Specified by:
removeFromDedicated in interface MultiCacheDAO


Copyright © 2014. All rights reserved.