Return-Path: X-Original-To: apmail-geode-commits-archive@minotaur.apache.org Delivered-To: apmail-geode-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9908A18218 for ; Fri, 22 Apr 2016 22:46:59 +0000 (UTC) Received: (qmail 9607 invoked by uid 500); 22 Apr 2016 22:46:59 -0000 Delivered-To: apmail-geode-commits-archive@geode.apache.org Received: (qmail 9574 invoked by uid 500); 22 Apr 2016 22:46:59 -0000 Mailing-List: contact commits-help@geode.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.incubator.apache.org Delivered-To: mailing list commits@geode.incubator.apache.org Received: (qmail 9561 invoked by uid 99); 22 Apr 2016 22:46:59 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Apr 2016 22:46:59 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 0BE8DC0E57 for ; Fri, 22 Apr 2016 22:46:59 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.021 X-Spam-Level: X-Spam-Status: No, score=-4.021 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id s1XG8NzI2K5J for ; Fri, 22 Apr 2016 22:46:53 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with SMTP id 2E04360F8D for ; Fri, 22 Apr 2016 22:46:44 +0000 (UTC) Received: (qmail 7601 invoked by uid 99); 22 Apr 2016 22:46:43 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Apr 2016 22:46:43 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 21048DFF46; Fri, 22 Apr 2016 22:46:43 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: dbarnes@apache.org To: commits@geode.incubator.apache.org Date: Fri, 22 Apr 2016 22:46:59 -0000 Message-Id: <9c84c1d2d4e1401ab955c0e44e54f1f0@git.apache.org> In-Reply-To: <540609d930434691af7e4f7cfc810d8f@git.apache.org> References: <540609d930434691af7e4f7cfc810d8f@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [18/51] [partial] incubator-geode git commit: Adding javadocs for the M2 release, removed snapshot version http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/534f8357/releases/10M2/javadoc/com/gemstone/gemfire/cache/AttributesMutator.html ---------------------------------------------------------------------- diff --git a/releases/10M2/javadoc/com/gemstone/gemfire/cache/AttributesMutator.html b/releases/10M2/javadoc/com/gemstone/gemfire/cache/AttributesMutator.html new file mode 100644 index 0000000..fc4aeb8 --- /dev/null +++ b/releases/10M2/javadoc/com/gemstone/gemfire/cache/AttributesMutator.html @@ -0,0 +1,723 @@ + + + + + +AttributesMutator (Apache Geode 1.0.0-incubating.M2) + + + + + + + + + + + + +
+
com.gemstone.gemfire.cache
+

Interface AttributesMutator<K,V>

+
+
+
+
    +
  • +
    +
    +
    public interface AttributesMutator<K,V>
    +
    Supports modification of certain region attributes after the region has been + created. It is recommended that the attributes be completely initialized + using an AttributesFactory before creating the region instead of + using an AttributesMutator after region creation. This will + avoid a potential performance penalty due to the additional + network traffic. +

    + The setter methods all return the previous value of the attribute.

    +
    +
    Since:
    +
    3.0
    +
    See Also:
    +
    Region.getAttributesMutator(), +RegionAttributes, +AttributesFactory
    +
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getRegion

        +
        Region<K,V> getRegion()
        +
        Returns the Region whose attributes this mutator affects.
        +
        +
        Returns:
        +
        the Region this mutator affects
        +
        +
      • +
      + + + +
        +
      • +

        setRegionTimeToLive

        +
        ExpirationAttributes setRegionTimeToLive(ExpirationAttributes timeToLive)
        +
        Changes the timeToLive expiration attributes for the region as a whole
        +
        +
        Parameters:
        +
        timeToLive - the expiration attributes for the region timeToLive
        +
        Returns:
        +
        the previous value of region timeToLive
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if timeToLive is null or if the + ExpirationAction is LOCAL_INVALIDATE and the region is + replicated
        +
        java.lang.IllegalStateException - if statistics are disabled for this region.
        +
        +
      • +
      + + + +
        +
      • +

        setRegionIdleTimeout

        +
        ExpirationAttributes setRegionIdleTimeout(ExpirationAttributes idleTimeout)
        +
        Changes the idleTimeout expiration attributes for the region as a whole. + Resets the CacheStatistics.getLastAccessedTime() for the region.
        +
        +
        Parameters:
        +
        idleTimeout - the ExpirationAttributes for this region idleTimeout
        +
        Returns:
        +
        the previous value of region idleTimeout
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if idleTimeout is null or if the + ExpirationAction is LOCAL_INVALIDATE and the region is + replicated
        +
        java.lang.IllegalStateException - if statistics are disabled for this region.
        +
        +
      • +
      + + + +
        +
      • +

        setEntryTimeToLive

        +
        ExpirationAttributes setEntryTimeToLive(ExpirationAttributes timeToLive)
        +
        Changes the timeToLive expiration attributes for values in this region.
        +
        +
        Parameters:
        +
        timeToLive - the timeToLive expiration attributes for entries
        +
        Returns:
        +
        the previous value of entry timeToLive
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if timeToLive is null or if the + ExpirationAction is LOCAL_DESTROY and the region is replicated or if + the ExpirationAction is LOCAL_INVALIDATE and the region is + replicated
        +
        java.lang.IllegalStateException - if statistics are disabled for this region.
        +
        +
      • +
      + + + +
        +
      • +

        setCustomEntryTimeToLive

        +
        CustomExpiry<K,V> setCustomEntryTimeToLive(CustomExpiry<K,V> custom)
        +
        Changes the custom timeToLive for values in this region
        +
        +
        Parameters:
        +
        custom - the new CustomExpiry
        +
        Returns:
        +
        the old CustomExpiry
        +
        +
      • +
      + + + +
        +
      • +

        setEntryIdleTimeout

        +
        ExpirationAttributes setEntryIdleTimeout(ExpirationAttributes idleTimeout)
        +
        Changes the idleTimeout expiration attributes for values in the region.
        +
        +
        Parameters:
        +
        idleTimeout - the idleTimeout expiration attributes for entries
        +
        Returns:
        +
        the previous value of entry idleTimeout
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if idleTimeout is null or if the + ExpirationAction is LOCAL_DESTROY and the region is + replicated + or if the the ExpirationAction is LOCAL_INVALIDATE and the region is + replicated
        +
        java.lang.IllegalStateException - if statistics are disabled for this region.
        +
        See Also:
        +
        AttributesFactory.setStatisticsEnabled(boolean)
        +
        +
      • +
      + + + +
        +
      • +

        setCustomEntryIdleTimeout

        +
        CustomExpiry<K,V> setCustomEntryIdleTimeout(CustomExpiry<K,V> custom)
        +
        Changes the CustomExpiry for idleTimeout for values in the region
        +
        +
        Parameters:
        +
        custom - the new CustomExpiry
        +
        Returns:
        +
        the old CustomExpiry
        +
        +
      • +
      + + + + + + + +
        +
      • +

        addCacheListener

        +
        void addCacheListener(CacheListener<K,V> aListener)
        +
        Adds a cache listener to the end of the list of cache listeners on this region.
        +
        +
        Parameters:
        +
        aListener - the user defined cache listener to add to the region.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if aListener is null
        +
        Since:
        +
        5.0
        +
        +
      • +
      + + + +
        +
      • +

        removeCacheListener

        +
        void removeCacheListener(CacheListener<K,V> aListener)
        +
        Removes a cache listener from the list of cache listeners on this region. + Does nothing if the specified listener has not been added. + If the specified listener has been added then CacheCallback.close() will + be called on it; otherwise does nothing.
        +
        +
        Parameters:
        +
        aListener - the cache listener to remove from the region.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if aListener is null
        +
        Since:
        +
        5.0
        +
        +
      • +
      + + + +
        +
      • +

        initCacheListeners

        +
        void initCacheListeners(CacheListener<K,V>[] newListeners)
        +
        Removes all cache listeners, calling CacheCallback.close() on each of them, and then adds each listener in the specified array.
        +
        +
        Parameters:
        +
        newListeners - a possibly null or empty array of listeners to add to this region.
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the newListeners array has a null element
        +
        Since:
        +
        5.0
        +
        +
      • +
      + + + +
        +
      • +

        setCacheWriter

        +
        CacheWriter<K,V> setCacheWriter(CacheWriter<K,V> cacheWriter)
        +
        Changes the cache writer for the region.
        +
        +
        Parameters:
        +
        cacheWriter - the cache writer
        +
        Returns:
        +
        the previous CacheWriter
        +
        +
      • +
      + + + +
        +
      • +

        setCacheLoader

        +
        CacheLoader<K,V> setCacheLoader(CacheLoader<K,V> cacheLoader)
        +
        Changes the cache loader for the region. + + Changing the cache loader for partitioned regions is not recommended due to + the fact that it can result in an inconsistent cache loader configuration. + This feature may be removed in future releases.
        +
        +
        Parameters:
        +
        cacheLoader - the cache loader
        +
        Returns:
        +
        the previous CacheLoader
        +
        +
      • +
      + + + + + + + +
        +
      • +

        setCustomEvictionAttributes

        +
        CustomEvictionAttributes setCustomEvictionAttributes(long newStart,
        +                                                     long newInterval)
        +
        Changes the evictor frequency for custom eviction attributes.
        +
        +
        Parameters:
        +
        newStart - the new start time in millis since epoch for the evictor task
        +
        newInterval - the new interval between evictor task invocations in millis
        +
        Returns:
        +
        the updated CustomEvictionAttributes
        +
        +
      • +
      + + + +
        +
      • +

        setCloningEnabled

        +
        void setCloningEnabled(boolean cloningEnable)
        +
        Sets cloning on region
        +
        +
        Parameters:
        +
        cloningEnable -
        +
        Since:
        +
        6.1
        +
        +
      • +
      + + + +
        +
      • +

        getCloningEnabled

        +
        boolean getCloningEnabled()
        +
        Returns whether or not cloning is enabled on region
        +
        +
        Returns:
        +
        True if cloning is enabled (default); + false cloning is not enabled.
        +
        Since:
        +
        6.1
        +
        +
      • +
      + + + +
        +
      • +

        addGatewaySenderId

        +
        void addGatewaySenderId(java.lang.String gatewaySenderId)
        +
        Adds GatewaySenderId to the list of GatewaySenderIds of the region. + If the GatewaySenderId is not present on this VM then it will try to send it to other VM's
        +
        +
        Parameters:
        +
        gatewaySenderId -
        +
        +
      • +
      + + + +
        +
      • +

        removeGatewaySenderId

        +
        void removeGatewaySenderId(java.lang.String gatewaySenderId)
        +
        Removes GatewaySenderId from the list of GatewaySenderIds of the region.
        +
        +
        Parameters:
        +
        gatewaySenderId -
        +
        +
      • +
      + + + +
        +
      • +

        addAsyncEventQueueId

        +
        void addAsyncEventQueueId(java.lang.String asyncEventQueueId)
        +
        Adds AsyncEventQueueId to the list of AsyncEventQueueId of the region.
        +
        +
        Parameters:
        +
        asyncEventQueueId -
        +
        +
      • +
      + + + +
        +
      • +

        removeAsyncEventQueueId

        +
        void removeAsyncEventQueueId(java.lang.String asyncEventQueueId)
        +
        Removes AsyncEventQueueId from the list of AsyncEventQueuesId of the region.
        +
        +
        Parameters:
        +
        asyncEventQueueId -
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + +