Search Results for

    Show / Hide Table of Contents

    Class ClusterStateCache

    Cache for cluster's state

    Inheritance
    Object
    ClusterStateCache
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Npgsql.Internal
    Assembly: Npgsql.dll
    Syntax
    public static class ClusterStateCache

    Methods

    Clear()

    Removes every cluster's state from cache

    Declaration
    public static void Clear()

    RemoveClusterState(String, Int32)

    Removes the specified cluster's state from cache

    Declaration
    public static void RemoveClusterState(string host, int port)
    Parameters
    Type Name Description
    String host

    Host address

    Int32 port

    Host port

    In This Article
    Back to top © Copyright 2022 The Npgsql Development Team