com.clickntap.tool.cache
Interface Cache

All Known Implementing Classes:
EhCache, MemoryCache

public interface Cache


Method Summary
 boolean contains(Serializable key)
           
 Serializable get(Serializable key)
           
 Serializable put(Serializable key, Serializable value)
           
 void remove(Serializable key)
           
 void removeAll()
           
 

Method Detail

get

Serializable get(Serializable key)
                 throws Exception
Throws:
Exception

put

Serializable put(Serializable key,
                 Serializable value)
                 throws Exception
Throws:
Exception

remove

void remove(Serializable key)
            throws Exception
Throws:
Exception

removeAll

void removeAll()
               throws Exception
Throws:
Exception

contains

boolean contains(Serializable key)
                 throws Exception
Throws:
Exception


Copyright © 2014. All rights reserved.