接口 ReadCache

所有已知实现类:
Ehcache, MapCache

public interface ReadCache
Read cache
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    Called when the excel read is complete
    get(Integer key)
    Get value
    void
    init(AnalysisContext analysisContext)
    Initialize cache
    void
    put(String value)
    Automatically generate the key and put it in the cache.Key start from 0
    void
    It's called when all the values are put in
  • 方法详细资料

    • init

      void init(AnalysisContext analysisContext)
      Initialize cache
      参数:
      analysisContext - A context is the main anchorage point of a excel reader.
    • put

      void put(String value)
      Automatically generate the key and put it in the cache.Key start from 0
      参数:
      value - Cache value
    • get

      String get(Integer key)
      Get value
      参数:
      key - Index
      返回:
      Value
    • putFinished

      void putFinished()
      It's called when all the values are put in
    • destroy

      void destroy()
      Called when the excel read is complete