Commit Graph

20 Commits

Author SHA1 Message Date
John Blum
6fbc40daa8 Adapt CacheUtils to identify client LOCAL Regions when collecting (getting) all values from the Region in collectValues(:Region).
Add new isProxyRegion(:Region) method to safely determine if the Region is a PROXY.

Add new isRegionWithPool(:Region) method to safely determine if the Region has been configured with a Pool, imply the Region is owned by a client (i.e. ClientCache).

Edit Javadoc.
2020-06-08 15:08:14 -07:00
John Blum
df466c0a62 Add PdxInstanceWrapper class to wrap (decorate) existing PdxInstances and more appropriately handle JSON to Object mappings returned by getObject(). 2020-05-12 19:01:17 -07:00
John Blum
d4aa108414 Add abstract utility class for working with GemFire/Geode cache instances (ClientCache & peer Cache) and Regions. 2020-05-11 00:00:10 -07:00
John Blum
7c65ad4320 Add PdxInstanceBuilder class used to create instances of PDX types (PdxInstance).
The Builder allows users to copy an existing PdxInstance to a new PdxInstance or create a PdxInstance from an Object.
2020-05-09 23:03:26 -07:00
John Blum
a4d452cfa4 Add SimpleCacheResolver class to resolve instances of GemFire/Geode ClientCaches and peer Caches. 2020-05-09 23:03:26 -07:00
John Blum
ed0989cce0 Refactor MembershipListenerAdapter away from using java.util.function.Consumer implementations to delegate the processing of membership event towards using the new MembershipEvent types along with overloaded membership event handler methods.
Move MembershipListenerAdapter from org.springframework.geode.distributed to org.springframework.geode.distributed.event.

Edit Javadoc.
2020-04-27 14:35:21 -07:00
John Blum
f134c06390 Introduce the QuorumLostEvent class extending MembershipEvent to signal that a quorum of peer members was lost in the event of a split brain or network partition. 2020-04-27 14:31:36 -07:00
John Blum
6cff7a3da0 Introduce the MemberSuspectEvent class extends MembershipEvent to signal when a peer member of the distributd system (cluster) becomes suspect.
A peer member of the distributed system (cluster) becomse suspect when it is no longer responsive to other peer members in the cluster.
2020-04-27 14:29:54 -07:00
John Blum
dad1459c44 Introduce the MemberJoinedEvent class extending MembershipEvent to signal when a new member joins the distributed system (cluster) as a peer. 2020-04-27 14:28:41 -07:00
John Blum
0f1dbc175d Introduce the MemberDepartedEvent class extending MembershipEvent to signal when a peer member departs from the distributed system (cluster). 2020-04-27 14:27:45 -07:00
John Blum
afb853646f Introduce the abstract MembershipEvent class to encapsulate the details of a membership event (e.g. memberJoined event) as defined by the o.a.g.distributed.internal.MembershipListener interface. 2020-04-27 14:25:27 -07:00
John Blum
929b2e49e5 Add MembershipListenerAdaper class implementing and adapting the o.a.g.distributed.internal.MembershipListener interface.
The internal Apache Geode API MembershipListener interface is useful for receiving notification in the event a peer cache member is disconnected (forced disconnected) and then auto-reconnected to the cluster.
2020-04-27 14:18:45 -07:00
John Blum
3770ff4569 Introduce TupleConsumer interface extending and implementing the java.util.function.Consumer interface accepting a variable number of arguments reprented by InvocationArguments. 2020-04-27 14:18:45 -07:00
John Blum
7ab6cc25b8 Introduce TriConsumer interface modeled after the java.util.function.Consumer interface that accepts 3 arguments. 2020-04-27 14:18:45 -07:00
John Blum
6f0b2ecf84 Introduce InvocationArguments type to capture the arguments passed to a method invocation's parameters. 2020-04-27 14:18:45 -07:00
John Blum
d266c1c660 Remove uses of the org.apache.geode.management.internal.security.ResourceConstants class to refer to Security constants and properties.
Resolves gh-70.
2020-02-21 19:14:36 -08:00
John Blum
8447eaad10 Update Copyright to 2020. 2020-02-19 23:04:23 -08:00
John Blum
ac8d47bec4 Add raw Apache Geode ClientCache application verifying the log-level property has no effect.
Resolves gh-73.
2020-02-13 00:13:38 -08:00
John Blum
a59017949a Add convenient o.a.g.cache.CacheListener implementation that processes all EntryEvents and RegionEvents using the same logic. 2019-08-12 10:37:47 -07:00
John Blum
57a1ea4840 Add apache-geode-extensions module containing classes implementing Apache Geode interfaces and SPIs.
These extensions will be used for testing and documentation purposes.

For example, this module contains extensions to Apache Geode's o.a.g.security.SecurityManager and o.a.g.security.AuthInitialize interfaces used in the SBDG samples.
2019-04-22 23:45:47 -07:00