The VirtualStreamManager type exposes the following members.

Methods

  NameDescription
Public methodAppend
This function appends the given data in byte array to the specified stream. The append starts at the given streamFixedOffset in the destination stream. If the stream already contains data in the streamFixedOffset position and it is different from the data that is being appended, then this operation will fail.
Public methodAppendFile
This function appends the given file to the specified stream. The data will be read from the local file starting at offset and the number of bits appended will be equal to length. The append starts at the given streamFixedOffset in the destination stream. If the stream already contains data in the streamFixedOffset position and it is different from the data that is being appended, then this operation will fail.
Public methodConcatenate
This function concatenates two given streams.
Public methodCreate
This fuction creates a stream on the virtual cluster. It will also assign the expiration time for the stream.
Public methodDelete
This function deletes the given stream.
Public methodDispose
IDisposable.Disposing
Public methodDownload
This function downloads a stream on the virtual cluster to the local machine. The download will start at the specified offset and copy "length" number of bits.
Public methodGetDirectoryInfo
This function gets the StreamInfo for a given directory.
Public methodGetStreamInfo
Gets the StreamInfo for a stream.
Public methodGetStreamSetInfo
This function gets the StreamInfo of each stream in the given streamset.
Public methodLogAppend
This appends the given data in the byte array to the log stream on the virtual cluster whose "key" and "value" match the key and value. hmKeyValue contains keyvalue pairs and the append operation will be performed for each keyvalue pair.
Public methodLogAppendFile
This appends the data in the given file to the log stream on the virtual cluster whose "key" and "value" match the key and value. hmKeyValue contains keyvalue pairs and the append operation will be performed for each keyvalue pair.
Public methodLogAppendWithArrayOffset
This appends the given data in the byte array to the log stream on the virtual cluster whose "key" and "value" match the key and value. hmKeyValue contains keyvalue pairs and the append operation will be performed for each keyvalue pair.
Public methodReadStream
This function reads a stream from the virtual cluster and returns a stream object. The stream will be read fromthe specified offset for the given length.
Public methodRename
This function renames the given stream.
Public methodRename2
This function renames the given stream.
Public methodSealStream
Seals the last extent in a Cosmos stream. Seal happens automatically when calling AppendFile(), but if you are uploading using Append() you may want to call this when you know there will be no more data to upload.
Public methodSetStreamExpirationTime
This fuction sets the expiration time for the stream.
Public methodStreamExists
This function checks if a given stream exists or not.
Public methodUpload
This function uploads the given byte array data to the vc.
Public methodUploadFile
This function uploads the given file to the vc. The data will be read from the local file starting at offset and the number of bits appended will be equal to length.

See Also