for (DataProvider provider : providers) {
listeners.addAll(provider.getListeners());
provider.removeAllListeners();
}
ObjectBuffer buffer = new ObjectBuffer(kryo, 100000);
List<DataProvider> loadedProviders = null;
try {
FileInputStream fileInputStream = new FileInputStream(path);
loadedProviders = buffer.readObject(fileInputStream,
ArrayList.class);
fileInputStream.close();
} catch (FileNotFoundException e) {
e.printStackTrace();
} catch (IOException e) {