public abstract class AbstractFileDeletions extends Object
Modifier and Type | Field and Description |
---|---|
protected AbstractFileSystemService |
afs |
protected Set<Long> |
deletedIds |
Constructor and Description |
---|
AbstractFileDeletions(AbstractFileSystemService afs,
Set<Long> deletedIds) |
Modifier and Type | Method and Description |
---|---|
void |
addLocalFile(File file,
long fileId)
Called during the creation of instances if a particular file should
be handled by
deleteLocal() . |
int |
deleteLocal()
Helper to delete and log.
|
void |
fail(File file,
Long id,
Long size) |
long |
getBytesFailed() |
long[] |
getUndeletedFiles() |
protected final AbstractFileSystemService afs
public AbstractFileDeletions(AbstractFileSystemService afs, Set<Long> deletedIds)
public void addLocalFile(File file, long fileId)
deleteLocal()
.fileId
- file
- public int deleteLocal()
public long getBytesFailed()
public long[] getUndeletedFiles()
Version: 5.2.0-ice35-b12
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.