Lines Matching refs:buffer
1299 record is added to the buffer, a check is made to see if the buffer should
1304 Initialize the handler with the buffer size.
1308 self.buffer = []
1312 Should the handler flush its buffer?
1314 Returns true if the buffer is up to capacity. This method can be
1317 return (len(self.buffer) >= self.capacity)
1324 the buffer.
1326 self.buffer.append(record)
1334 This version just zaps the buffer to empty.
1338 self.buffer.clear()
1356 flushing them to a target handler. Flushing occurs whenever the buffer
1362 Initialize the handler with the buffer size, the level at which
1370 buffer is flushed, even if the flush level hasn't been exceeded nor the
1381 Check for buffer full or a record at the flushLevel or higher.
1383 return (len(self.buffer) >= self.capacity) or \
1402 The record buffer is also cleared by this operation.
1407 for record in self.buffer:
1409 self.buffer.clear()
1416 buffer.