Uploaded image for project: 'Spymemcached Java Client'
  1. Spymemcached Java Client
  2. SPY-50

Add ability to specify viewmode programatically

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.0-dp2
    • Fix Version/s: 2.8.0-dp3
    • Component/s: None
    • Security Level: Public
    • Labels:
      None

      Description

      It would be nice if there was a setter in CouchbaseClient to set the viewmode programmatically rather than having to use the properties file.
      More importantly, it would be great if you could change CouchbaseClient to read the file in as a resource using something like:
      properties.load(ClassLoader.getSystemResourceAsStream("config.properties"));

      That way it only needs to be on the Classpath. Currently it's read in using FileInputStream which means having to deal with actual file locations, always a real pain when writing web apps.

      If you could also find your way to changing the use of FileInputStream in
      CouchbaseClient to a ClassLoader based approach (as above) for the beta that
      would be a lot nicer.

      http://www.couchbase.org/forums/thread/spymemcached-couchbaseclient-issues#comment-1004320

        Attachments

        For Gerrit Dashboard: SPY-50
        # Subject Project Status CR V

          Activity

            People

            • Assignee:
              mikew Mike Wiederhold
              Reporter:
              mikew Mike Wiederhold
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes