All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gemstone.gemfire.cache.PartitionedRegionStorageException Maven / Gradle / Ivy

/*
 * Copyright (c) 2010-2015 Pivotal Software, Inc. All rights reserved.
 *
 * 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. See accompanying
 * LICENSE file.
 */
package com.gemstone.gemfire.cache;

/**
 * 
 * 

Description of the conditions under which this exception is thrown

*

* When a PartitionedRegionStorageException message contains * the string: * *

 * There are not enough data store members to create a bucket.
 * 
* * A new data store must be added to the partitioned region for future bucket creation. *

* *

* When a PartitionedRegionStorageException message contains * the string: * *

 * Too many data store members have refused the request to create a bucket.
 * 
* * There are enough data stores, however some have refused possibly due to these * conditions: *
    *
  1. The amount of storage allocated to the partitioned region on that * distributed member exceeds its localMaxMemory setting.
  2. *
  3. The partitioned region instance on that distributed member has been * closed or destroyed.
  4. *
  5. The cache on that distributed member has been closed.
  6. *
  7. The distributed system on that member has been disconnected.
  8. *
*

* *

* When a PartitionedRegionStorageException message contains * the string: * *

 * Creation of a bucket for partitioned region failed in N attempts.
 * 
* If the number of attempts is lesser than the number of available * data store members, contact GemFire support providing all logs and statistics files from * all members containing the partitioned region. Otherwise, shutdown and then restart one * or more of the data stores, given that it is safe to do so, for example when redundantCopies * is greater than 0. *

* * * @see com.gemstone.gemfire.cache.PartitionAttributesFactory * @since 5.0 */ public class PartitionedRegionStorageException extends CacheRuntimeException { private static final long serialVersionUID = 5905463619475329732L; /** Creates a new instance of PartitionedRegionStorageException */ public PartitionedRegionStorageException() { } /** * Creates a new {@link PartitionedRegionStorageException} with a message. * @param msg The string message for the PartitionedRegionStorageException. */ public PartitionedRegionStorageException(String msg) { super(msg); } /** * Creates a new {@link PartitionedRegionStorageException} with a message and Throwable cause. * @param message The string message for the PartitionedRegionStorageException. * @param cause Throwable cause for this {@link PartitionedRegionStorageException}. */ public PartitionedRegionStorageException(String message, Throwable cause) { super(message, cause); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy