public class GetHeadRevisionCommand extends BaseCommand<Long>
Command for MongoMicroKernel#getHeadRevision()nodeStore| Constructor and Description |
|---|
GetHeadRevisionCommand(MongoNodeStore nodeStore)
Constructs a new
GetHeadRevisionCommandMongo. |
| Modifier and Type | Method and Description |
|---|---|
Long |
execute()
Executes the
Command and returns its result. |
getNumOfRetries, needsRetry, needsRetrypublic GetHeadRevisionCommand(MongoNodeStore nodeStore)
GetHeadRevisionCommandMongo.nodeStore - Node store.Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.