Package com.mongodb

Interface DBCallbackFactory


public interface DBCallbackFactory
Factory for creating concrete implementations of DBCallback.
  • Method Summary

    Modifier and Type
    Method
    Description
    create(DBCollection collection)
    Creates a DBCallback for the given collection.
  • Method Details

    • create

      DBCallback create(DBCollection collection)
      Creates a DBCallback for the given collection.
      Parameters:
      collection - a DBCollection for the DBCallback
      Returns:
      a new DBCallback that operates on the collection.