public class IgfsListingEntry extends Object implements Externalizable
| Constructor and Description |
|---|
IgfsListingEntry()
Empty constructor required by
Externalizable. |
IgfsListingEntry(IgfsFileInfo fileInfo) |
IgfsListingEntry(IgfsListingEntry entry,
long len,
long accessTime,
long modificationTime)
Creates listing entry with updated length.
|
| Modifier and Type | Method and Description |
|---|---|
long |
accessTime() |
IgniteUuid |
affinityKey() |
int |
blockSize() |
boolean |
equals(Object o) |
IgniteUuid |
fileId() |
int |
hashCode() |
boolean |
isDirectory() |
boolean |
isFile() |
long |
length() |
long |
modificationTime() |
Map<String,String> |
properties() |
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public IgfsListingEntry()
Externalizable.public IgfsListingEntry(IgfsFileInfo fileInfo)
fileInfo - File info to construct listing entry from.public IgfsListingEntry(IgfsListingEntry entry, long len, long accessTime, long modificationTime)
entry - Entry.len - New length.public IgniteUuid fileId()
public IgniteUuid affinityKey()
public boolean isFile()
True if entry represents file.public boolean isDirectory()
True if entry represents directory.public int blockSize()
public long length()
public long accessTime()
public long modificationTime()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundException
Follow @ApacheIgnite
Ignite Fabric : ver. 1.2.0-incubating Release Date : June 16 2015