Package org.apache.storm.blobstore
Class LocalFsBlobStoreFile
java.lang.Object
org.apache.storm.blobstore.BlobStoreFile
org.apache.storm.blobstore.LocalFsBlobStoreFile
- 
Field SummaryFields inherited from class org.apache.storm.blobstore.BlobStoreFileBLOBSTORE_DATA_FILE, LOG, TMP_EXT, TMP_NAME_PATTERN
- 
Constructor SummaryConstructorsConstructorDescriptionLocalFsBlobStoreFile(File base, boolean isTmp, boolean mustBeNew) LocalFsBlobStoreFile(File base, String name) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidcancel()voidcommit()voiddelete()longgetKey()longlongbooleanisTmp()voidsetMetadata(SettableBlobMeta meta) toString()
- 
Constructor Details- 
LocalFsBlobStoreFile
- 
LocalFsBlobStoreFile
 
- 
- 
Method Details- 
delete- Specified by:
- deletein class- BlobStoreFile
- Throws:
- IOException
 
- 
isTmppublic boolean isTmp()- Specified by:
- isTmpin class- BlobStoreFile
 
- 
getKey- Specified by:
- getKeyin class- BlobStoreFile
 
- 
getVersion- Overrides:
- getVersionin class- BlobStoreFile
- Throws:
- IOException
 
- 
getModTime- Specified by:
- getModTimein class- BlobStoreFile
- Throws:
- IOException
 
- 
getInputStream- Specified by:
- getInputStreamin class- BlobStoreFile
- Throws:
- IOException
 
- 
getOutputStream- Specified by:
- getOutputStreamin class- BlobStoreFile
- Throws:
- IOException
 
- 
commit- Specified by:
- commitin class- BlobStoreFile
- Throws:
- IOException
 
- 
cancel- Specified by:
- cancelin class- BlobStoreFile
- Throws:
- IOException
 
- 
getMetadata- Specified by:
- getMetadatain class- BlobStoreFile
 
- 
setMetadata- Specified by:
- setMetadatain class- BlobStoreFile
 
- 
toString
- 
getFileLengthpublic long getFileLength()- Specified by:
- getFileLengthin class- BlobStoreFile
 
 
-