Class M003_CreateBackgroundJobServerCollection
java.lang.Object
org.jobrunr.storage.nosql.mongo.migrations.MongoMigration
org.jobrunr.storage.nosql.mongo.migrations.M003_CreateBackgroundJobServerCollection
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrunMigration(com.mongodb.client.MongoDatabase jobrunrDatabase, String collectionPrefix) Methods inherited from class MongoMigration
collectionExists, createCollection, createIndex, dropIndexes, isBackgroundOperationInProgressExceptionModifier and TypeMethodDescriptionprotected booleancollectionExists(com.mongodb.client.MongoDatabase mongoDatabase, String collectionName) protected booleancreateCollection(com.mongodb.client.MongoDatabase mongoDatabase, String name) protected voidcreateIndex(com.mongodb.client.MongoCollection<org.bson.Document> mongoCollection, org.bson.conversions.Bson index, com.mongodb.client.model.IndexOptions indexOptions) protected voiddropIndexes(com.mongodb.client.MongoCollection<org.bson.Document> mongoCollection) protected Boolean
-
Constructor Details
-
M003_CreateBackgroundJobServerCollection
public M003_CreateBackgroundJobServerCollection()
-
-
Method Details
-
runMigration
- Specified by:
runMigrationin classMongoMigration
-