Hướng dẫn com.mongodb.event.connectionpool createevent maven - com.mongodb.event.connectionpool createevent maven

Tất cả các bản tải xuống là miễn phí. Tìm kiếm và tải xuống các chức năng đang sử dụng kho lưu trữ Maven chính thức.

Hướng dẫn com.mongodb.event.connectionpool createevent maven - com.mongodb.event.connectionpool createevent maven

  • Bắt đầu
  • Tìm kiếm lớp học
  • Công cụ trực tuyến Maven
  • Kho lưu trữ tùy chỉnh
  • Máy phát điện POM
  • Thông tin
    • Danh mục jar
    • Thư viện hàng đầu
    • Nhật thực
    • Câu hỏi thường gặp
    • Tải xuống PHP
    • Tải xuống JavaScript
    • Đối tác: Số dư Ethereum của bạn trực tuyến
  • Dự án của tôi
  • Nhà
  • org.mongodb
  • mongodb-driver-core
  • 4.1.1
  • mã nguồn
  • ConnectionPoolCreatedEvent.java

Vui lòng chờ. Điều này có thể mất vài phút ...

Tải xuống dự án

Nhiều tài nguyên là cần thiết để tải xuống một dự án. Xin hãy hiểu rằng chúng tôi phải bồi thường chi phí máy chủ của chúng tôi. Cảm ơn bạn trước. Giá dự án chỉ 1 đô laProject price only 1 $
Project price only 1 $

Bạn có thể mua dự án này và tải xuống/sửa đổi nó tần suất bạn muốn.


Thông tin

Đi đến tải về

Lớp hoạt động Java cho trình điều khiển Java MongoDB. Các bên thứ ba có thể bọc lớp này để cung cấp API cấp cao hơn tùy chỉnh

/*
 * Copyright 2008-present MongoDB, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.mongodb.event;

import com.mongodb.connection.ConnectionPoolSettings;
import com.mongodb.connection.ServerId;

import static com.mongodb.assertions.Assertions.notNull;

/**
 * An event signifying that a connection pool was created.
 *
 * @since 4.0
 */
public final class ConnectionPoolCreatedEvent {
    private final ServerId serverId;
    private final ConnectionPoolSettings settings;

    /**
     * Constructs a new instance of the event.
     *
     * @param serverId the server id
     * @param settings the connection pool settings
     */
    public ConnectionPoolCreatedEvent(final ServerId serverId, final ConnectionPoolSettings settings) {
        this.serverId = notNull("serverId", serverId);
        this.settings = notNull("settings", settings);
    }

    /**
     * Gets the server id
     *
     * @return the server id
     */
    public ServerId getServerId() {
        return serverId;
    }

    /**
     * Gets the connection pool settings.
     *
     * @return the connection pool setttings.
     */
    public ConnectionPoolSettings getSettings() {
        return settings;
    }

    @Override
    public String toString() {
        return "ConnectionPoolCreatedEvent{"
                       + "serverId=" + serverId
                       + " settings=" + settings
                       + '}';
    }
}
  • java.lang.Object
    • com.mongodb.event.ConnectionPoolCreatedEvent

  • public final class ConnectionPoolCreatedEvent
    extends Object
    public final class ConnectionPoolCreatedEvent
    extends Object
    3Since:4.04.0Since:4.04.0
    • Chi tiết nhà xây dựng

      Constructors   
      ConnectionPoolCreatedEventSự mô tả
      public final class ConnectionPoolCreatedEvent
      extends Object
      6

      Xây dựng một thể hiện mới của sự kiện.

    • Tóm tắt Phương pháp

      Tất cả các phương thức & nbsp; Phương thức thể hiện & nbsp; Phương thức cụ thể & nbsp; Instance Methods Concrete Methods  Instance Methods Concrete Methods 
      Công cụ sửa đổi và loạiPhương phápSự mô tả
      Xây dựng một thể hiện mới của sự kiện.
      public final class ConnectionPoolCreatedEvent
      extends Object
      8

      Tóm tắt Phương pháp

      Tất cả các phương thức & nbsp; Phương thức thể hiện & nbsp; Phương thức cụ thể & nbsp; Instance Methods Concrete Methods 
      public final class ConnectionPoolCreatedEvent
      extends Object
      0

      Công cụ sửa đổi và loại

      Phương pháp
      public final class ConnectionPoolCreatedEvent
      extends Object
      2
      public final class ConnectionPoolCreatedEvent
      extends Object
      7
      • Nhận ID máy chủ

        public final class ConnectionPoolCreatedEvent
        extends Object
        3
    • Chi tiết nhà xây dựng

      • ConnectionPoolCreatedEvent

        public ConnectionPoolCreatedEvent​(ServerId serverId,
                                          ConnectionPoolSettings settings)

        Xây dựng một thể hiện mới của sự kiện.

        Tóm tắt Phương pháp
        public final class ConnectionPoolCreatedEvent
        extends Object
        4 - the server id
        public final class ConnectionPoolCreatedEvent
        extends Object
        5 - the connection pool settings
    • Tất cả các phương thức & nbsp; Phương thức thể hiện & nbsp; Phương thức cụ thể & nbsp; Instance Methods Concrete Methods 

      • Công cụ sửa đổi và loại

        public final class ConnectionPoolCreatedEvent
        extends Object
        1

        Tóm tắt Phương pháp

        Tất cả các phương thức & nbsp; Phương thức thể hiện & nbsp; Phương thức cụ thể & nbsp; Instance Methods Concrete Methods the server id
      • Công cụ sửa đổi và loại

        public final class ConnectionPoolCreatedEvent
        extends Object
        2

        Công cụ sửa đổi và loại

        Phương phápthe connection pool setttings.
      • public final class ConnectionPoolCreatedEvent
        extends Object
        7

        Nhận ID máy chủOverrides:
        public final class ConnectionPoolCreatedEvent
        extends Object
        6 in class 
        public final class ConnectionPoolCreatedEvent
        extends Object
        7