Apache Tomcat 8.0.14
org.apache.catalina.tribes.tipis

Class LazyReplicatedMap<K,V>

    • Constructor Detail

      • LazyReplicatedMap

        public LazyReplicatedMap(AbstractReplicatedMap.MapOwner owner,
                         Channel channel,
                         long timeout,
                         String mapContextName,
                         int initialCapacity,
                         float loadFactor,
                         ClassLoader[] cls)
        Creates a new map
        Parameters:
        channel - The channel to use for communication
        timeout - long - timeout for RPC messags
        mapContextName - String - unique name for this map, to allow multiple maps per channel
        initialCapacity - int - the size of this map, see HashMap
        loadFactor - float - load factor, see HashMap
      • LazyReplicatedMap

        public LazyReplicatedMap(AbstractReplicatedMap.MapOwner owner,
                         Channel channel,
                         long timeout,
                         String mapContextName,
                         int initialCapacity,
                         ClassLoader[] cls)
        Creates a new map
        Parameters:
        channel - The channel to use for communication
        timeout - long - timeout for RPC messags
        mapContextName - String - unique name for this map, to allow multiple maps per channel
        initialCapacity - int - the size of this map, see HashMap
      • LazyReplicatedMap

        public LazyReplicatedMap(AbstractReplicatedMap.MapOwner owner,
                         Channel channel,
                         long timeout,
                         String mapContextName,
                         ClassLoader[] cls)
        Creates a new map
        Parameters:
        channel - The channel to use for communication
        timeout - long - timeout for RPC messags
        mapContextName - String - unique name for this map, to allow multiple maps per channel
      • LazyReplicatedMap

        public LazyReplicatedMap(AbstractReplicatedMap.MapOwner owner,
                         Channel channel,
                         long timeout,
                         String mapContextName,
                         ClassLoader[] cls,
                         boolean terminate)
        Creates a new map
        Parameters:
        channel - The channel to use for communication
        timeout - long - timeout for RPC messags
        mapContextName - String - unique name for this map, to allow multiple maps per channel
        terminate - boolean - Flag for whether to terminate this map that failed to start.
Apache Tomcat 8.0.14

Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.