Class CurrentOpCommand
- java.lang.Object
-
- de.caluga.morphium.driver.commands.MongoCommand<CurrentOpCommand>
-
- de.caluga.morphium.driver.commands.CurrentOpCommand
-
public class CurrentOpCommand extends MongoCommand<CurrentOpCommand>
-
-
Constructor Summary
Constructors Constructor Description CurrentOpCommand(MorphiumDriver drv)CurrentOpCommand(MongoConnection d)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>asMap()List<Map<String,Object>>execute()intexecuteAsync()CurrentOpCommandfromMap(Map<String,Object> m)StringgetCommandName()Map<String,Object>getFilter()intgetSecsRunning()CurrentOpCommandsetFilter(Map<String,Object> filter)CurrentOpCommandsetSecsRunning(int secsRunning)-
Methods inherited from class de.caluga.morphium.driver.commands.MongoCommand
clear, getColl, getComment, getConnection, getDb, getMetaData, releaseConnection, setColl, setComment, setConnection, setDb, setMetaData, setMetaData
-
-
-
-
Constructor Detail
-
CurrentOpCommand
public CurrentOpCommand(MongoConnection d)
-
CurrentOpCommand
public CurrentOpCommand(MorphiumDriver drv)
-
-
Method Detail
-
getSecsRunning
public int getSecsRunning()
-
setSecsRunning
public CurrentOpCommand setSecsRunning(int secsRunning)
-
executeAsync
public int executeAsync() throws MorphiumDriverException- Overrides:
executeAsyncin classMongoCommand<CurrentOpCommand>- Throws:
MorphiumDriverException
-
setFilter
public CurrentOpCommand setFilter(Map<String,Object> filter)
-
getCommandName
public String getCommandName()
- Specified by:
getCommandNamein classMongoCommand<CurrentOpCommand>
-
asMap
public Map<String,Object> asMap()
- Overrides:
asMapin classMongoCommand<CurrentOpCommand>
-
fromMap
public CurrentOpCommand fromMap(Map<String,Object> m)
- Overrides:
fromMapin classMongoCommand<CurrentOpCommand>
-
execute
public List<Map<String,Object>> execute() throws MorphiumDriverException
- Throws:
MorphiumDriverException
-
-