Class MongoAdmin

java.lang.Object
org.springframework.data.mongodb.core.MongoAdmin
All Implemented Interfaces:
MongoAdminOperations

@Deprecated(since="4.5", forRemoval=true) @ManagedResource(description="Mongo Admin Operations") public class MongoAdmin extends Object implements MongoAdminOperations
Deprecated, for removal: This API element is subject to removal in a future version.
since 4.5
Mongo server administration exposed via JMX annotations
Author:
Mark Pollack, Thomas Darimont, Mark Paluch, Christoph Strobl
  • Constructor Summary

    Constructors
    Constructor
    Description
    MongoAdmin(com.mongodb.client.MongoClient client)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    createDatabase(String databaseName)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    dropDatabase(String databaseName)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    getDatabaseStats(String databaseName)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MongoAdmin

      public MongoAdmin(com.mongodb.client.MongoClient client)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Parameters:
      client - the underlying MongoClient used for data access.
      Since:
      2.2
  • Method Details