Class GeometryGmlIdCache

    • Constructor Detail

      • GeometryGmlIdCache

        public GeometryGmlIdCache​(CacheTableManager cacheTableManager,
                                  int partitions,
                                  int batchSize)
                           throws java.sql.SQLException
        Throws:
        java.sql.SQLException
    • Method Detail

      • drainToDB

        public void drainToDB​(java.util.concurrent.ConcurrentHashMap<java.lang.String,​IdCacheEntry> map,
                              int drain)
                       throws java.sql.SQLException
        Specified by:
        drainToDB in interface IdCachingModel
        Throws:
        java.sql.SQLException
      • lookupDB

        public IdCacheEntry lookupDB​(java.lang.String key)
                              throws java.sql.SQLException
        Specified by:
        lookupDB in interface IdCachingModel
        Throws:
        java.sql.SQLException
      • close

        public void close()
                   throws java.sql.SQLException
        Specified by:
        close in interface IdCachingModel
        Throws:
        java.sql.SQLException