Search in sources :

Example 1 with DiskManager

use of com.aws.iot.edgeconnectorforkvs.diskmanager.DiskManager in project aws-iot-greengrass-edge-connector-for-kinesis-video-stream by awslabs.

the class EdgeConnectorForKVSService method initDiskManagement.

private void initDiskManagement() {
    DiskManager diskManager = new DiskManager(edgeConnectorForKVSConfigurationList, new DiskManagerUtil(), Executors.newCachedThreadPool(), Executors.newScheduledThreadPool(1), new FileHandlingCallBack());
    diskManager.initDiskManager();
    diskManager.setupDiskManagerThread();
}
Also used : FileHandlingCallBack(com.aws.iot.edgeconnectorforkvs.diskmanager.callback.FileHandlingCallBack) DiskManager(com.aws.iot.edgeconnectorforkvs.diskmanager.DiskManager) DiskManagerUtil(com.aws.iot.edgeconnectorforkvs.diskmanager.DiskManagerUtil)

Aggregations

DiskManager (com.aws.iot.edgeconnectorforkvs.diskmanager.DiskManager)1 DiskManagerUtil (com.aws.iot.edgeconnectorforkvs.diskmanager.DiskManagerUtil)1 FileHandlingCallBack (com.aws.iot.edgeconnectorforkvs.diskmanager.callback.FileHandlingCallBack)1