org.eclipse.january.io

## Interface ILazyAsyncSaver

- All Superinterfaces:
    ILazyLoader, ILazySaver, Serializable

      public interface ILazyAsyncSaver
      extends ILazySaver

  Used by lazy writeable datasets to write slices to a file in an asynchronous manner

- - ### Field Summary

    - ### Fields inherited from interface org.eclipse.january.io.ILazySaver

      `serialVersionUID`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `setSliceAsync(IMonitor mon, IDataset data, SliceND slice)` Non-blocking version of `ILazySaver.setSlice(IMonitor, IDataset, SliceND)`

    - ### Methods inherited from interface org.eclipse.january.io.ILazySaver

      `initialize, isFileWriteable, setSlice`

    - ### Methods inherited from interface org.eclipse.january.io.ILazyLoader

      `getDataset, isFileReadable`

- - ### Method Detail

    - #### setSliceAsync

          void setSliceAsync(IMonitor mon,
                             IDataset data,
                             SliceND slice)
                      throws IOException

      Non-blocking version of `ILazySaver.setSlice(IMonitor, IDataset, SliceND)`
      Parameters:
        `mon` - can be null
        `data` - to use
        `slice` - destination where to set with items of data
      Throws:
        `IOException` - when cannot write data

Copyright © 2014–2022 Eclipse Foundation. All rights reserved.