[15/51] [partial] incubator-geode git commit: GEODE-54: Missing javadocs
http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/fb1ba1f9/releases/1.0.0-incubating.M2-SNAPSHOT/javadocs/com/gemstone/gemfire/cache/CacheFactory.html -- diff --git a/releases/1.0.0-incubating.M2-SNAPSHOT/javadocs/com/gemstone/gemfire/cache/CacheFactory.html b/releases/1.0.0-incubating.M2-SNAPSHOT/javadocs/com/gemstone/gemfire/cache/CacheFactory.html deleted file mode 100644 index ff5a9db..000 --- a/releases/1.0.0-incubating.M2-SNAPSHOT/javadocs/com/gemstone/gemfire/cache/CacheFactory.html +++ /dev/null @@ -1,709 +0,0 @@ -http://www.w3.org/TR/html4/loose.dtd";> - - - - -CacheFactory (Apache Geode 1.0.0-incubating.M2-SNAPSHOT) - - - - - - -var methods = {"i0":10,"i1":41,"i2":9,"i3":9,"i4":9,"i5":9,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10}; -var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; -var altColor = "altColor"; -var rowColor = "rowColor"; -var tableTab = "tableTab"; -var activeTableTab = "activeTableTab"; - - -JavaScript is disabled on your browser. - - - - - -Skip navigation links - - - - -Overview -Package -Class -Tree -Deprecated -Index -Help - - - - -Prev Class -Next Class - - -Frames -No Frames - - -All Classes - - - - - - - -Summary: -Nested | -Field | -Constr | -Method - - -Detail: -Field | -Constr | -Method - - - - - - - - -com.gemstone.gemfire.cache -Class CacheFactory - - - -java.lang.Object - - -com.gemstone.gemfire.cache.CacheFactory - - - - - - - - -public class CacheFactory -extends java.lang.Object -Factory class used to create the singleton cache and connect to the GemFire singleton distributed system. If the application wants to connect to GemFire as a client it should use ClientCacheFactory instead. - Once the factory has been configured using its set(String, String) method you produce a Cache by calling the create() method. - - To get the existing unclosed singleton cache instance call getAnyInstance(). - - If an instance of DistributedSystem already exists when this factory - creates a cache, that instance will be used if it is compatible with this factory. - -The following examples illustrate bootstrapping the cache using region shortcuts: - -Example 1: Create a cache and a replicate region named customers. - - Cache c = new CacheFactory().create(); - Region r = c.createRegionFactory(REPLICATE).create("customers"); - -Example 2: Create a cache and a partition region with redundancy - - Cache c = new CacheFactory().create(); - Region r = c.createRegionFactory(PARTITION_REDUNDANT).create("customers"); - -Example 3: Construct the cache region declaratively in cache.xml - - -- - -Now, create the cache telling it to read your cache.xml file: - - Cache c = new CacheFactory() -.set("cache-xml-file", "myCache.xml") -.create(); - Region r = c.getRegion("myRegion"); - - - For a complete list of all region shortcuts see RegionShortcut. -Applications that need to explicitly control the individual region attributes can do this declaratively in XML or using APIs. - -Since: -3.0 - - - - - - - - - - - - -Constructor Summary - -Constructors - -Constructor and Description - - -CacheFactory() -Creates a default cache factory. - - - -CacheFactory(java.util.Properties props) -Create a CacheFactory initialized with the given gemfire properties. - - - - - - - - - - -Method Summary - -All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods - -Modifier and Type -Method and Description - - -Cache -create() -Creates a new cache that uses the configured distributed system. - - - -static Cache -create(DistributedSystem system) -Deprecated. -as of 6.5 use CacheFactory(Properties) instead. - - - - -static Cache -getAnyInstance() -Gets an arbitrary open instance of Cache produced by an - earlier call to create(). - - - -static Cache -getInstance(DistributedSystem system) -Gets the instance of Cache produced by an - earlier call to create(). - - - -static Cache -getInstanceCloseOk(DistributedSystem system) -Gets the instance of Cache produced by an - earlier call to create() even if i- -
[15/51] [partial] incubator-geode git commit: GEODE-54: Missing javadocs
http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/54a3e718/releases/1.0.0-incubating.M2-SNAPSHOT/javadocs/com/gemstone/gemfire/cache/CacheFactory.html -- diff --git a/releases/1.0.0-incubating.M2-SNAPSHOT/javadocs/com/gemstone/gemfire/cache/CacheFactory.html b/releases/1.0.0-incubating.M2-SNAPSHOT/javadocs/com/gemstone/gemfire/cache/CacheFactory.html new file mode 100644 index 000..ff5a9db --- /dev/null +++ b/releases/1.0.0-incubating.M2-SNAPSHOT/javadocs/com/gemstone/gemfire/cache/CacheFactory.html @@ -0,0 +1,709 @@ +http://www.w3.org/TR/html4/loose.dtd";> + + + + +CacheFactory (Apache Geode 1.0.0-incubating.M2-SNAPSHOT) + + + + + + +var methods = {"i0":10,"i1":41,"i2":9,"i3":9,"i4":9,"i5":9,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Tree +Deprecated +Index +Help + + + + +Prev Class +Next Class + + +Frames +No Frames + + +All Classes + + + + + + + +Summary: +Nested | +Field | +Constr | +Method + + +Detail: +Field | +Constr | +Method + + + + + + + + +com.gemstone.gemfire.cache +Class CacheFactory + + + +java.lang.Object + + +com.gemstone.gemfire.cache.CacheFactory + + + + + + + + +public class CacheFactory +extends java.lang.Object +Factory class used to create the singleton cache and connect to the GemFire singleton distributed system. If the application wants to connect to GemFire as a client it should use ClientCacheFactory instead. + Once the factory has been configured using its set(String, String) method you produce a Cache by calling the create() method. + + To get the existing unclosed singleton cache instance call getAnyInstance(). + + If an instance of DistributedSystem already exists when this factory + creates a cache, that instance will be used if it is compatible with this factory. + +The following examples illustrate bootstrapping the cache using region shortcuts: + +Example 1: Create a cache and a replicate region named customers. + + Cache c = new CacheFactory().create(); + Region r = c.createRegionFactory(REPLICATE).create("customers"); + +Example 2: Create a cache and a partition region with redundancy + + Cache c = new CacheFactory().create(); + Region r = c.createRegionFactory(PARTITION_REDUNDANT).create("customers"); + +Example 3: Construct the cache region declaratively in cache.xml + + ++ + +Now, create the cache telling it to read your cache.xml file: + + Cache c = new CacheFactory() +.set("cache-xml-file", "myCache.xml") +.create(); + Region r = c.getRegion("myRegion"); + + + For a complete list of all region shortcuts see RegionShortcut. +Applications that need to explicitly control the individual region attributes can do this declaratively in XML or using APIs. + +Since: +3.0 + + + + + + + + + + + + +Constructor Summary + +Constructors + +Constructor and Description + + +CacheFactory() +Creates a default cache factory. + + + +CacheFactory(java.util.Properties props) +Create a CacheFactory initialized with the given gemfire properties. + + + + + + + + + + +Method Summary + +All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods + +Modifier and Type +Method and Description + + +Cache +create() +Creates a new cache that uses the configured distributed system. + + + +static Cache +create(DistributedSystem system) +Deprecated. +as of 6.5 use CacheFactory(Properties) instead. + + + + +static Cache +getAnyInstance() +Gets an arbitrary open instance of Cache produced by an + earlier call to create(). + + + +static Cache +getInstance(DistributedSystem system) +Gets the instance of Cache produced by an + earlier call to create(). + + + +static Cache +getInstanceCloseOk(DistributedSystem system) +Gets the instance of Cache produced by an + earlier call to create() even if it ha+ +