implementing flush-callback
adding LogFlushCallback interface completed
refined LockKey class(added tableName, day)