Added method to set trigger
Scribbled empty FlushBufferTriggerFactory