Skip to content

Commit

Permalink
Remove unused exports. Remaining exports are for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
jake-at-work committed Jan 7, 2021
1 parent 322a54d commit b48bd2f
Show file tree
Hide file tree
Showing 56 changed files with 60 additions and 71 deletions.
2 changes: 1 addition & 1 deletion cppcache/src/CachePerfStats.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ using statistics::Statistics;
using statistics::StatisticsFactory;

/** hold statistics for cache.. */
class APACHE_GEODE_EXPORT CachePerfStats {
class CachePerfStats {
public:
explicit CachePerfStats(StatisticsFactory* factory) {
auto statsType = factory->findType("CachePerfStats");
Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/CacheXmlCreation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class Cache;
* @since 1.0
*/

class APACHE_GEODE_EXPORT CacheXmlCreation {
class CacheXmlCreation {
public:
/**
* Creates a new <code>CacheXmlCreation</code> with no root region
Expand Down
2 changes: 0 additions & 2 deletions cppcache/src/CacheableToken.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ namespace apache {
namespace geode {
namespace client {

class APACHE_GEODE_EXPORT CacheableToken;

/** Implement a non-mutable int64_t wrapper that can serve as a distributable
* key object for cacheing as well as being a 64 bit value. */
class APACHE_GEODE_EXPORT CacheableToken
Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/ClientMetadata.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ typedef std::vector<std::shared_ptr<BucketServerLocation>>
typedef std::vector<BucketServerLocationsType> BucketServerLocationsListType;
typedef std::map<std::string, std::vector<int>> FixedMapType;

class APACHE_GEODE_EXPORT ClientMetadata {
class ClientMetadata {
private:
void setPartitionNames();
std::shared_ptr<CacheableHashSet> m_partitionNames;
Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/ConnectCounter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace apache {
namespace geode {
namespace client {

class APACHE_GEODE_EXPORT ConnectCounter {
class ConnectCounter {
public:
ConnectCounter();

Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/CqAttributesImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ namespace client {
*
* For compatibility rules and default values, see {@link CqAttributesFactory}.
*/
class APACHE_GEODE_EXPORT CqAttributesImpl : public CqAttributes {
class CqAttributesImpl : public CqAttributes {
public:
~CqAttributesImpl() noexcept override {}

Expand Down
3 changes: 1 addition & 2 deletions cppcache/src/CqService.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ class TcrEndpoint;
* Implements the CqService functionality.
*
*/
class APACHE_GEODE_EXPORT CqService
: public std::enable_shared_from_this<CqService> {
class CqService : public std::enable_shared_from_this<CqService> {
ThinClientBaseDM* m_tccdm;
statistics::StatisticsFactory* m_statisticsFactory;
ACE_Semaphore m_notificationSema;
Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/DistributedSystem.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class SystemProperties;
class DistributedSystemImpl;
class CacheRegionHelper;

class APACHE_GEODE_EXPORT DistributedSystem {
class DistributedSystem {
/**
* @brief public methods
*/
Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/DistributedSystemImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ using CliCallbackMethod = std::function<void(Cache&)>;
* A "connection" to a Geode distributed system.
* The connection will be through a (host, port) pair.
*/
class APACHE_GEODE_EXPORT DistributedSystemImpl {
class DistributedSystemImpl {
public:
static void setThreadName(const std::string& threadName);

Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/EntriesMap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ namespace client {
/**
* @brief Concurrent entries map. Not designed for subclassing...
*/
class APACHE_GEODE_EXPORT EntriesMap {
class EntriesMap {
public:
explicit EntriesMap(std::unique_ptr<EntryFactory> entryFactory)
: m_entryFactory(std::move(entryFactory)) {}
Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/EntriesMapFactory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace apache {
namespace geode {
namespace client {

class APACHE_GEODE_EXPORT EntriesMapFactory {
class EntriesMapFactory {
public:
/** @brief used internally by Region implementation to create the appropriate
* type of entries map.
Expand Down
5 changes: 2 additions & 3 deletions cppcache/src/EnumInfo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ namespace client {
using internal::DataSerializableFixedId_t;
using internal::DSFid;

class APACHE_GEODE_EXPORT EnumInfo
: public DataSerializableFixedId_t<DSFid::EnumInfo>,
public CacheableKey {
class EnumInfo : public DataSerializableFixedId_t<DSFid::EnumInfo>,
public CacheableKey {
private:
std::shared_ptr<CacheableString> m_enumClassName;
std::shared_ptr<CacheableString> m_enumName;
Expand Down
3 changes: 1 addition & 2 deletions cppcache/src/EventId.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ using internal::DSFid;
* EventID "token" with a Distributed Member ID, Thread ID and per-thread
* Sequence ID
*/
class APACHE_GEODE_EXPORT EventId
: public internal::DataSerializableFixedId_t<DSFid::EventId> {
class EventId : public internal::DataSerializableFixedId_t<DSFid::EventId> {
private:
char m_eidMem[512];
int32_t m_eidMemLen;
Expand Down
4 changes: 2 additions & 2 deletions cppcache/src/EventIdMap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ typedef std::vector<EventIdMapEntry> EventIdMapEntryList;
* provides the operations for duplicate checking and
* expiry of idle event IDs from notifications.
*/
class APACHE_GEODE_EXPORT EventIdMap {
class EventIdMap {
private:
typedef std::unordered_map<std::shared_ptr<EventSource>,
std::shared_ptr<EventSequence>,
Expand Down Expand Up @@ -127,7 +127,7 @@ class APACHE_GEODE_EXPORT EventIdMap {
* EventSequence is the combination of SequenceNum from EventId, a timestamp and
* a flag indicating whether or not it is ACKed
*/
class APACHE_GEODE_EXPORT EventSequence {
class EventSequence {
public:
using clock = std::chrono::steady_clock;
using time_point = clock::time_point;
Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/EventSource.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace client {
*
* EventSource is the combination of MembershipId and ThreadId from the EventId
*/
class APACHE_GEODE_EXPORT EventSource {
class EventSource {
char *m_srcId;
int32_t m_srcIdLen;
int64_t m_thrId;
Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/ExpiryHandler_T.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ namespace client {
* since GF_Timer_Heap_ImmediateReset_T also deletes handlers that expire
*/
template <class T>
class APACHE_GEODE_EXPORT ExpiryHandler_T : public ACE_Event_Handler {
class ExpiryHandler_T : public ACE_Event_Handler {
public:
/// Handle timeout events.
typedef int (T::*TO_HANDLER)(const ACE_Time_Value &, const void *);
Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/InterestResultPolicy.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ namespace client {
* @class InterestResultPolicy InterestResultPolicy.hpp
* Policy class for interest result.
*/
class APACHE_GEODE_EXPORT InterestResultPolicy {
class InterestResultPolicy {
// public static methods
public:
static char nextOrdinal;
Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/LRUEntriesMap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class EvictionController;
* @brief Concurrent entries map with LRU behavior.
* Not designed for subclassing...
*/
class APACHE_GEODE_EXPORT LRUEntriesMap : public ConcurrentEntriesMap {
class LRUEntriesMap : public ConcurrentEntriesMap {
protected:
using spinlock_mutex = ::apache::geode::util::concurrent::spinlock_mutex;

Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/LRULocalDestroyAction.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ namespace client {
/**
* @brief LRUAction for localDestroy.
*/
class APACHE_GEODE_EXPORT LRULocalDestroyAction : public virtual LRUAction {
class LRULocalDestroyAction : public virtual LRUAction {
private:
RegionInternal* m_regionPtr;
LRUEntriesMap* m_entriesMapPtr;
Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/MapEntry.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class ExpEntryProperties {
/**
* @brief Interface class for region mapped entry value.
*/
class APACHE_GEODE_EXPORT MapEntry {
class MapEntry {
public:
virtual ~MapEntry() noexcept = default;

Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/MapSegment.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ typedef std::unordered_map<std::shared_ptr<CacheableKey>,
CacheableKeyHashMap;

/** @brief type wrapper around the std::unordered_map implementation. */
class APACHE_GEODE_EXPORT MapSegment {
class MapSegment {
private:
// contain
CacheableKeyHashMap* m_map;
Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/NoResult.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace client {
*
*
*/
class APACHE_GEODE_EXPORT NoResult final : public ResultCollector {
class NoResult final : public ResultCollector {
public:
NoResult() = default;
~NoResult() final = default;
Expand Down
3 changes: 1 addition & 2 deletions cppcache/src/PdxFieldType.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ namespace apache {
namespace geode {
namespace client {

class APACHE_GEODE_EXPORT PdxFieldType
: public internal::DataSerializableInternal {
class PdxFieldType : public internal::DataSerializableInternal {
private:
std::string m_fieldName;
std::string m_className;
Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/PdxInstanceImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ namespace client {

typedef std::map<std::string, std::shared_ptr<Cacheable>> FieldVsValues;

class APACHE_GEODE_EXPORT PdxInstanceImpl : public WritablePdxInstance {
class PdxInstanceImpl : public WritablePdxInstance {
public:
~PdxInstanceImpl() noexcept override;

Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/PoolXmlCreation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Cache;
*
* @since 3.0
*/
class APACHE_GEODE_EXPORT PoolXmlCreation {
class PoolXmlCreation {
private:
/** An <code>RegionAttributesFactory</code> for creating default
* <code>PoolAttribute</code>s */
Expand Down
3 changes: 1 addition & 2 deletions cppcache/src/PreservedDataExpiryHandler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ namespace client {
* when a preserved data expires.
*
*/
class APACHE_GEODE_EXPORT PreservedDataExpiryHandler
: public ACE_Event_Handler {
class PreservedDataExpiryHandler : public ACE_Event_Handler {
public:
/**
* Constructor
Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/ProxyRegion.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class FunctionService;
* @class ProxyRegion ProxyRegion.hpp
* This class wrapper around real region
*/
class APACHE_GEODE_EXPORT ProxyRegion final : public Region {
class ProxyRegion final : public Region {
public:
const std::string& getName() const final { return m_realRegion->getName(); }

Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/ProxyRemoteQueryService.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ namespace client {
class CacheImpl;
class ThinClientPoolDM;

class APACHE_GEODE_EXPORT ProxyRemoteQueryService : public QueryService {
class ProxyRemoteQueryService : public QueryService {
public:
explicit ProxyRemoteQueryService(AuthenticatedView* cptr);
virtual ~ProxyRemoteQueryService() = default;
Expand Down
3 changes: 1 addition & 2 deletions cppcache/src/PutAllPartialResultServerException.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ class PutAllPartialResultServerException;
* @brief PutAllPartialResultServerException class is used to encapsulate
*geode PutAllPartialResultServerException in case of PutAll execution.
**/
class APACHE_GEODE_EXPORT PutAllPartialResultServerException
: public Serializable {
class PutAllPartialResultServerException : public Serializable {
/**
* @brief public methods
*/
Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/Queue.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ namespace geode {
namespace client {

template <class T>
class APACHE_GEODE_EXPORT Queue {
class Queue {
public:
/**
* Constructor with parameter to specify whether the contained objects
Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/ReadWriteLock.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace apache {
namespace geode {
namespace client {

class APACHE_GEODE_EXPORT ReadGuard {
class ReadGuard {
public:
explicit ReadGuard(ACE_RW_Thread_Mutex& lock) : lock_(lock) {
lock_.acquire_read();
Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/RegionConfig.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ namespace client {

class RegionConfig;

class APACHE_GEODE_EXPORT RegionConfig {
class RegionConfig {
public:
explicit RegionConfig(const std::string& capacity);

Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/RegionExpiryHandler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ namespace client {
* manager when region is destroyed
*
*/
class APACHE_GEODE_EXPORT RegionExpiryHandler : public ACE_Event_Handler {
class RegionExpiryHandler : public ACE_Event_Handler {
public:
RegionExpiryHandler(std::shared_ptr<RegionInternal>& rptr,
ExpirationAction action, std::chrono::seconds duration);
Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/RegionGlobalLocks.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace apache {
namespace geode {
namespace client {

class APACHE_GEODE_EXPORT RegionGlobalLocks {
class RegionGlobalLocks {
public:
explicit RegionGlobalLocks(LocalRegion* region, bool isFailover = true)
: m_region(region), m_isFailover(isFailover) {
Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/RegionStats.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ using statistics::StatisticDescriptor;
using statistics::Statistics;
using statistics::StatisticsType;

class APACHE_GEODE_EXPORT RegionStats {
class RegionStats {
public:
/** hold statistics for a region.. */
RegionStats(statistics::StatisticsFactory* factory,
Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/RegionXmlCreation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Cache;
*
* @since 1.0
*/
class APACHE_GEODE_EXPORT RegionXmlCreation {
class RegionXmlCreation {
private:
/** An <code>RegionAttributesFactory</code> for creating default
* <code>RegionAttribute</code>s */
Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/RemoteQuery.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ namespace client {

class ThinClientBaseDM;

class APACHE_GEODE_EXPORT RemoteQuery : public Query {
class RemoteQuery : public Query {
std::string m_queryString;
std::shared_ptr<RemoteQueryService> m_queryService;
ThinClientBaseDM* m_tccdm;
Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/RemoteQueryService.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace client {
class CacheImpl;
class ThinClientPoolDM;
typedef std::map<std::string, bool> CqPoolsConnected;
class APACHE_GEODE_EXPORT RemoteQueryService
class RemoteQueryService
: public QueryService,
public std::enable_shared_from_this<RemoteQueryService> {
public:
Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/ResultSetImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ namespace apache {
namespace geode {
namespace client {

class APACHE_GEODE_EXPORT ResultSetImpl : public ResultSet {
class ResultSetImpl : public ResultSet {
public:
explicit ResultSetImpl(const std::shared_ptr<CacheableVector>& response);
~ResultSetImpl() noexcept override = default;
Expand Down
3 changes: 1 addition & 2 deletions cppcache/src/ServerLocation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ namespace apache {
namespace geode {
namespace client {

class APACHE_GEODE_EXPORT ServerLocation
: public internal::DataSerializableInternal {
class ServerLocation : public internal::DataSerializableInternal {
public:
ServerLocation(std::string serverName, int port)
: Serializable(), m_serverName(std::move(serverName)), m_port(port) {
Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/StructSetImpl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ namespace apache {
namespace geode {
namespace client {

class APACHE_GEODE_EXPORT StructSetImpl : public StructSet {
class StructSetImpl : public StructSet {
public:
StructSetImpl(const std::shared_ptr<CacheableVector>& values,
const std::vector<std::string>& fieldNames);
Expand Down
2 changes: 1 addition & 1 deletion cppcache/src/SuspendedTxExpiryHandler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class CacheTransactionManagerImpl;
* when a suspended transaction expires.
*
*/
class APACHE_GEODE_EXPORT SuspendedTxExpiryHandler : public ACE_Event_Handler {
class SuspendedTxExpiryHandler : public ACE_Event_Handler {
public:
SuspendedTxExpiryHandler(CacheTransactionManagerImpl* cacheTxMgr,
TransactionId& txid);
Expand Down
Loading

0 comments on commit b48bd2f

Please sign in to comment.