public class GetBlobLengthCommandGridFS extends BaseCommand<Long>
Command for MongoMicroKernel#getLength(String)nodeStore| Constructor and Description |
|---|
GetBlobLengthCommandGridFS(com.mongodb.gridfs.GridFS gridFS,
String blobId)
Constructs the command.
|
| Modifier and Type | Method and Description |
|---|---|
Long |
execute()
Executes the
Command and returns its result. |
getNumOfRetries, needsRetry, needsRetrypublic GetBlobLengthCommandGridFS(com.mongodb.gridfs.GridFS gridFS,
String blobId)
gridFS - GridFS instance.blobId - Blob id.Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.