Here you can find the source of pauseWriteRecord()
public static void pauseWriteRecord()
//package com.java2s; //License from project: Open Source License public class Main { private static volatile boolean WRITE_RECORD_PAUSED = false; public static void pauseWriteRecord() { WRITE_RECORD_PAUSED = true;// ww w . j a v a 2 s . c o m } }