All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.common.blobstore.fs.FsBlobContainer.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????47com/groupbyinc/flux/common/blobstore/fs/FsBlobContainerBcom/groupbyinc/flux/common/blobstore/support/AbstractBlobContainerFsBlobContainer.java9com/groupbyinc/flux/common/blobstore/fs/FsBlobContainer$1	blobStore5Lcom/groupbyinc/flux/common/blobstore/fs/FsBlobStore;pathLjava/nio/file/Path;$assertionsDisabledZ{(Lcom/groupbyinc/flux/common/blobstore/fs/FsBlobStore;Lcom/groupbyinc/flux/common/blobstore/BlobPath;Ljava/nio/file/Path;)V2(Lcom/groupbyinc/flux/common/blobstore/BlobPath;)V
		
	this9Lcom/groupbyinc/flux/common/blobstore/fs/FsBlobContainer;blobPath/Lcom/groupbyinc/flux/common/blobstore/BlobPath;	listBlobs()Ljava/util/Map;java/io/IOExceptionlistBlobsByPrefix#(Ljava/lang/String;)Ljava/util/Map; 
!java/lang/Throwable#java/util/HashMap%()V'
&(*
java/util/Map,java/lang/String.java/lang/StringBuilder0
1(append-(Ljava/lang/String;)Ljava/lang/StringBuilder;34
15*7toString()Ljava/lang/String;9:
1;java/nio/file/Files=newDirectoryStreamG(Ljava/nio/file/Path;Ljava/lang/String;)Ljava/nio/file/DirectoryStream;?@
>Ajava/nio/file/DirectoryStreamCiterator()Ljava/util/Iterator;EFDGjava/util/IteratorIhasNext()ZKLJMnext()Ljava/lang/Object;OPJQjava/nio/file/PathS+java/nio/file/attribute/BasicFileAttributesUjava/nio/file/LinkOptionWreadAttributeso(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/BasicFileAttributes;YZ
>[
isRegularFile]LV^getFileName()Ljava/nio/file/Path;`aTbT;>com/groupbyinc/flux/common/blobstore/support/PlainBlobMetaDataesize()JghVi(Ljava/lang/String;J)Vk
flput8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;no-pcloser'Ds
addSuppressed(Ljava/lang/Throwable;)Vuv
$wjava/util/CollectionsyunmodifiableMap (Ljava/util/Map;)Ljava/util/Map;{|
z}attrs-Ljava/nio/file/attribute/BasicFileAttributes;filestream5Ljava/nio/file/DirectoryStream;Ljava/nio/file/DirectoryStream;blobNamePrefixLjava/lang/String;builderVLjava/util/Map;Ljava/util/Map;
deleteBlob(Ljava/lang/String;)Vresolve((Ljava/lang/String;)Ljava/nio/file/Path;??T?isDirectory2(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z??
>?<(Lcom/groupbyinc/flux/common/blobstore/fs/FsBlobContainer;)V?
?walkFileTreeE(Ljava/nio/file/Path;Ljava/nio/file/FileVisitor;)Ljava/nio/file/Path;??
>?delete(Ljava/nio/file/Path;)V??
>?blobName
blobExists(Ljava/lang/String;)Zexists??
>?readBlob)(Ljava/lang/String;)Ljava/io/InputStream;java/io/FileNotFoundException?java/io/BufferedInputStream?java/nio/file/OpenOption?newInputStreamF(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/InputStream;??
>?3com/groupbyinc/flux/common/blobstore/fs/FsBlobStore?bufferSizeInBytes()I??
??(Ljava/io/InputStream;I)V?
??!java/nio/file/NoSuchFileException?[?] blob not found??
??fnfeLjava/io/FileNotFoundException;nameresolvedPath	writeBlob+(Ljava/lang/String;Ljava/io/InputStream;J)V??
?(java/nio/file/FileAlreadyExistsException?blob [?"] already exists, cannot overwrite?
?? java/nio/file/StandardOpenOption?
CREATE_NEW"Ljava/nio/file/StandardOpenOption;??	??newOutputStreamG(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/OutputStream;??
>?%com/groupbyinc/flux/common/io/Streams?copy0(Ljava/io/InputStream;Ljava/io/OutputStream;[B)J??
??java/io/OutputStream?
?sjava/io/InputStream?5com/groupbyinc/flux/common/apache/lucene/util/IOUtils?fsync(Ljava/nio/file/Path;Z)V??
??outputStreamLjava/io/OutputStream;inputStreamLjava/io/InputStream;blobSizeJmove'(Ljava/lang/String;Ljava/lang/String;)V
	?java/lang/AssertionError?
?(java/nio/file/CopyOption? java/nio/file/StandardCopyOption?ATOMIC_MOVE"Ljava/nio/file/StandardCopyOption;??	??Y(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)Ljava/nio/file/Path;?
>sourcetarget
sourcePath
targetPathjava/lang/Class	desiredAssertionStatusL

CodeLocalVariableTableLineNumberTable
Exceptions	SignatureX()Ljava/util/Map;LocalVariableTypeTable
StackMapTablej(Ljava/lang/String;)Ljava/util/Map;
SourceFileInnerClasses!	

	d*,?*+?*-??*	
@A
BC0*?"?G "
??&Y?)M+?+?+L*??1Y?2+?68?6?-?t?5::?:-?#?-?t?:		?x?	-?t?,?~????$1??$1?????$???>\7?OD?.??????????.??????2MOP1QOR\SfT?V?W?P?W?X\
?-@/?&D$J?Y?Q$H$H$?	/-D$$$?/-???+*?+??M,?X???,?Y*????W?,??? ++?? ]^a&i*k	?&T??F*?+???X?????o???C*?+??M??Y,????*??????N??Y?1Y?2??6+?6??6?Ej????????????4??.~(?4?H?X?~?????????`	(?A/?T?$$G$H$?	/?T?$$$?/?T???K*?+??N*?,??:????X?????Y???-??Y?S?W*???4KK?K?@4???1?B?J??1TT'4?
?????9@





© 2015 - 2024 Weber Informatics LLC | Privacy Policy