BlockingQueue.add(Object)
.Batcher
using a Batcher.Builder
as a templateBatcher
objects with custom behavioral tweaks.Deleter
.Inserter
.Deleter
in a new thread.Deleter
in a new thread provided by the
provided ThreadFactory
.Inserter
in a new thread.Inserter
in a new thread provided by the
provided ThreadFactory
.DataSource
to use for connecting to the MySQL databaseBatcher
has become non-empty (i.e.Batcher
will store up to this many candidate rows.Deleter
enables asynchronous and rapid deletion of rows in a MySQL
table given column values.Deleter
objects with custom behavioral tweaks.Batcher.prepareSql(java.util.Collection<? extends java.lang.Object>)
method.prepareSql
method.Batcher
that inserts submitted values as new rows in the corresponding
table.Inserter
objects with custom behavioral tweaks.Batcher
queue to reach its maximum
batch size after at least one row candidate is pending submission to the database.Batcher
queue to reach
its maximum batch size after at least one row candidate is pending submission to the
database.Batcher
will submit in a single
query.Batcher
will submit
in a single query.BlockingQueue.offer(Object)
.BlockingQueue.offer(Object, long, TimeUnit)
.null
BlockingQueue.put(Object)
.BlockingQueue
will be used in place
of the default BlockingQueue
to backend the resulting Batcher
.BlockingQueue
for the resulting Batcher
instance
to use.Batcher
.Batcher
.Batcher
to begin its shutdown procedure.Map
such that for each element of
the map:
key : column name
value : null
test
Copyright © 2016. All rights reserved.