Commit Graph

15 Commits

Author SHA1 Message Date
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
35c731c66c Replace reference to DistributionConfig.GEMFIRE_PREXIX with constant String literal. 2020-04-09 15:18:14 -07:00
John Blum
8c42646359 Add assertions for instanceof checks on InternalDistributedSystem.
Refactor both instanceof and not instanceof checks.
2020-03-20 02:08:24 -07:00
John Blum
8e88abfebe Add the org.springframework.geode.util.GeodeAssertions abstract class containing assertions for different Apache Geode objects, such as a cache or Region.
GeodeAssertions will help in the effort to remove all uses of internal Apache Geode APIs and restrict all internal Apache Geode API usage to the apache-geode-extensions module.

Resolves gh-70.
2020-02-21 20:17:32 -08:00
John Blum
796f15e876 Change the GeodeConstants abstract class to an interface. 2020-02-21 20:17:32 -08:00
John Blum
d9a9b7d698 Remove use of the org.apache.geode.distributed.internal.DistributionConfig class to refer to the 'gemfire.' property prefix.
Resolves gh-70.
2020-02-21 19:24:52 -08:00
John Blum
c434873f58 Remove uses of the org.apache.geode.distributed.internal.DistributionConfig interface to refer to configuration property names.
Resolves gh-70.
2020-02-21 19:19:12 -08: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
49d5e65a9f Introduce the org.springframework.geode.util.GeodeConstants class to encapsulate common Apache Geode constants used by SBDG.
The GeodeConstants class will help in the effort to remove all uses of internal Apache Geode APIs, isolating all internal Apache Geode API usage to the apache-geode-extensions module.

Resolves gh-70.
2020-02-21 18:52:27 -08:00
John Blum
8447eaad10 Update Copyright to 2020. 2020-02-19 23:04:23 -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