RedisCache.java 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /**
  2. * Copyright (c) 2015-2016, Michael Yang 杨福海 (fuhai999@gmail.com).
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. package io.jpress.cache.impl;
  17. import java.util.List;
  18. import com.jfinal.plugin.ehcache.IDataLoader;
  19. import io.jpress.cache.ICache;
  20. public class RedisCache implements ICache {
  21. @Override
  22. public <T> T get(String cacheName, Object key) {
  23. return null;
  24. }
  25. @Override
  26. public void put(String cacheName, Object key, Object value) {
  27. }
  28. @Override
  29. public List<?> getKeys(String cacheName) {
  30. return null;
  31. }
  32. @Override
  33. public void remove(String cacheName, Object key) {
  34. }
  35. @Override
  36. public void removeAll(String cacheName) {
  37. }
  38. @Override
  39. public <T> T get(String cacheName, Object key, IDataLoader dataLoader) {
  40. return null;
  41. }
  42. }