Search in sources :

Example 16 with IgfsEntryInfo

use of org.apache.ignite.internal.processors.igfs.IgfsEntryInfo in project ignite by apache.

the class IgfsMetaFileCreateProcessor method process.

/** {@inheritDoc} */
@Override
public IgfsEntryInfo process(MutableEntry<IgniteUuid, IgfsEntryInfo> entry, Object... args) throws EntryProcessorException {
    IgfsEntryInfo info = IgfsUtils.createFile(entry.getKey(), blockSize, len, affKey, lockId, evictExclude, props, accessTime, modificationTime);
    entry.setValue(info);
    return info;
}
Also used : IgfsEntryInfo(org.apache.ignite.internal.processors.igfs.IgfsEntryInfo)

Aggregations

IgfsEntryInfo (org.apache.ignite.internal.processors.igfs.IgfsEntryInfo)16 HashMap (java.util.HashMap)4 IgniteException (org.apache.ignite.IgniteException)4 IgfsFileMap (org.apache.ignite.internal.processors.igfs.IgfsFileMap)4 IgfsListingEntry (org.apache.ignite.internal.processors.igfs.IgfsListingEntry)4 IOException (java.io.IOException)2 IgfsPath (org.apache.ignite.igfs.IgfsPath)2 IgfsMetaManager (org.apache.ignite.internal.processors.igfs.IgfsMetaManager)2 FileNotFoundException (java.io.FileNotFoundException)1 URI (java.net.URI)1 ArrayList (java.util.ArrayList)1 Map (java.util.Map)1 Configuration (org.apache.hadoop.conf.Configuration)1 FSDataInputStream (org.apache.hadoop.fs.FSDataInputStream)1 FileStatus (org.apache.hadoop.fs.FileStatus)1 FileSystem (org.apache.hadoop.fs.FileSystem)1 Path (org.apache.hadoop.fs.Path)1 CacheConfiguration (org.apache.ignite.configuration.CacheConfiguration)1 FileSystemConfiguration (org.apache.ignite.configuration.FileSystemConfiguration)1 IgniteConfiguration (org.apache.ignite.configuration.IgniteConfiguration)1