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

Add ability to specify viewmode programatically

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 2.8.0-dp3
    • 2.8.0-dp2
    • None
    • Security Level: Public
    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mikew Mike Wiederhold [X] (Inactive)
            mikew Mike Wiederhold [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty