Class GeometryGmlIdCache
- java.lang.Object
-
- org.citydb.citygml.exporter.cache.GeometryGmlIdCache
-
- All Implemented Interfaces:
IdCachingModel
public class GeometryGmlIdCache extends java.lang.Object implements IdCachingModel
-
-
Constructor Summary
Constructors Constructor Description GeometryGmlIdCache(CacheTableManager cacheTableManager, int partitions, int batchSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
drainToDB(java.util.concurrent.ConcurrentHashMap<java.lang.String,IdCacheEntry> map, int drain)
java.lang.String
getType()
IdCacheEntry
lookupDB(java.lang.String key)
-
-
-
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 interfaceIdCachingModel
- Throws:
java.sql.SQLException
-
lookupDB
public IdCacheEntry lookupDB(java.lang.String key) throws java.sql.SQLException
- Specified by:
lookupDB
in interfaceIdCachingModel
- Throws:
java.sql.SQLException
-
close
public void close() throws java.sql.SQLException
- Specified by:
close
in interfaceIdCachingModel
- Throws:
java.sql.SQLException
-
getType
public java.lang.String getType()
- Specified by:
getType
in interfaceIdCachingModel
-
-