Class FlowSimpleCache

  • All Implemented Interfaces:
    FlowCache

    public class FlowSimpleCache
    extends java.lang.Object
    implements FlowCache
    流程缓存简单实现类

    官网尊重知识产权,不允许非法使用,后果自负

    Since:
    1.0
    Author:
    hubin
    • Constructor Summary

      Constructors 
      Constructor Description
      FlowSimpleCache()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> T get​(java.lang.String key)
      从缓存中获取对象
      void put​(java.lang.String key, java.lang.Object value)
      根据关键字缓存对象
      void remove​(java.lang.String key)
      根据关键字删除缓存对象
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FlowSimpleCache

        public FlowSimpleCache()
    • Method Detail

      • put

        public void put​(java.lang.String key,
                        java.lang.Object value)
        Description copied from interface: FlowCache
        根据关键字缓存对象
        Specified by:
        put in interface FlowCache
        Parameters:
        key - 缓存关键字
        value - 缓存对象
      • get

        public <T> T get​(java.lang.String key)
        Description copied from interface: FlowCache
        从缓存中获取对象
        Specified by:
        get in interface FlowCache
        Parameters:
        key - 缓存关键字
        Returns:
        缓存对象
      • remove

        public void remove​(java.lang.String key)
        Description copied from interface: FlowCache
        根据关键字删除缓存对象
        Specified by:
        remove in interface FlowCache
        Parameters:
        key - 缓存关键字