com.alibaba.excel.cache

类 Ehcache

  • 所有已实现的接口:
    ReadCache

    public class Ehcache
    extends Object
    implements ReadCache
    Default cache
    作者:
    Jiaju Zhuang
    • 构造器详细资料

      • Ehcache

        public Ehcache(int maxCacheActivateSize)
    • 方法详细资料

      • init

        public void init(AnalysisContext analysisContext)
        从接口复制的说明: ReadCache
        Initialize cache
        指定者:
        init 在接口中  ReadCache
        参数:
        analysisContext - A context is the main anchorage point of a excel reader.
      • put

        public void put(String value)
        从接口复制的说明: ReadCache
        Automatically generate the key and put it in the cache.Key start from 0
        指定者:
        put 在接口中  ReadCache
        参数:
        value - Cache value
      • putFinished

        public void putFinished()
        从接口复制的说明: ReadCache
        It's called when all the values are put in
        指定者:
        putFinished 在接口中  ReadCache
      • destroy

        public void destroy()
        从接口复制的说明: ReadCache
        Called when the excel read is complete
        指定者:
        destroy 在接口中  ReadCache

Copyright © 2018–2019 Alibaba Group. All rights reserved.