1. 15 12月, 2016 1 次提交
  2. 06 11月, 2016 1 次提交
  3. 23 8月, 2016 1 次提交
  4. 07 5月, 2016 1 次提交
  5. 02 3月, 2016 1 次提交
  6. 10 2月, 2016 4 次提交
  7. 02 2月, 2016 1 次提交
  8. 05 8月, 2015 1 次提交
  9. 24 3月, 2015 1 次提交
  10. 20 3月, 2015 1 次提交
    • F
      [RocksJava] 32-Bit adjustments · 5615e23d
      fyrz 提交于
      Summary:
      Before this change overflowing size_t values led to a checked Exception.
      
      After that change:
      
      size_t overflows on 32-Bit architecture throw now an IllegalArgumentException,
      which removes the necessity for a developer to catch these Exceptions explicitly.
      
      This is especially an advantage for developers targeting 64-Bit systems because
      it is not necessary anymore to catch exceptions which are never thrown on a 64-Bit
      system.
      
      Test Plan:
      make clean jclean rocksdbjava jtest
      mvn -f rocksjni.pom package
      
      Reviewers: adamretter, yhchiang, ankgup87
      
      Subscribers: dhruba
      
      Differential Revision: https://reviews.facebook.net/D34923
      5615e23d
  11. 15 3月, 2015 2 次提交
    • F
      RocksJava - JNI Logger callback · 57f2a00c
      fyrz 提交于
      Summary:
      Within this commit a new AbstractLogger was introduced
      which allows to handle log messages at an application level.
      
      Log messages are passed up to Java using a JNI callback.
      
      This allows a Java-Developer to use common Java APIs for log
      messages e.g. SLF4J, LOG4J, etc. Within this commit no new
      dependencies were introduced, which keeps the RocksDB API clean
      and doesn`t force a developer to use a predefined high-level Java API.
      
      Another feature is to dynamically set a custom loggers verbosity at
      runtime using its public method `setInfoLogLevel` and to retrieve
      the currently active level using the `infoLogLevel` method.
      
      Test Plan:
      make clean jclean rocksdbjava jtest
      mvn -f rocksjni.pom package
      
      Reviewers: adamretter, ankgup87, yhchiang
      
      Subscribers: dhruba
      
      Differential Revision: https://reviews.facebook.net/D34755
      57f2a00c
    • F
      [RocksJava] Logging JNI callback · a3bd4142
      fyrz 提交于
      Within this commit a new AbstractLogger was introduced
      which pushes info log messages all the way up to Java.
      a3bd4142
  12. 29 1月, 2015 1 次提交
  13. 28 1月, 2015 2 次提交
    • F
      [RocksJava] Removed todo comment in portal.h · b3c13314
      fyrz 提交于
      As jclass instances shall not be cached, both
      todos are obsolete and can be removed.
      b3c13314
    • F
      [RocksJava] Cleanup portal.h · 7ffcc457
      fyrz 提交于
      Simple Java Native Objects usually are represented using
      the same functionality but within different classes.
      
      With this commit a template class was introduced to remove
      the redundant impelementation to a certain extent.
      7ffcc457
  14. 15 1月, 2015 3 次提交
  15. 11 1月, 2015 1 次提交
    • F
      [RocksJava] ColumnFamilyDescriptor alignment with listColumnFamilies · 0aab1005
      fyrz 提交于
      Summary:
      Previous to this commit ColumnFamilyDescriptor took a String as name for the ColumnFamily name. String is however encoding dependent which is bad because listColumnFamilies returns byte arrays without any encoding information.
      
      All public API call were deprecated and flagged to be removed in 3.10.0
      
      Test Plan:
      make rocksdbjava
      make test
      mvn -f rocksjni.pom package
      
      Reviewers: yhchiang, adamretter, ankgup87
      
      Subscribers: dhruba
      
      Differential Revision: https://reviews.facebook.net/D30525
      0aab1005
  16. 13 11月, 2014 1 次提交
    • F
      [RocksJava] ColumnFamily custom Options API extension · 75010d20
      fyrz 提交于
                            *********************
                         ***************************
                       ******** ************* ********
                      ********   ***********   ********
                     ********     *********     ********
                    *************************************
                    *************************************
                    *************************************
                     ******     ***       ***     ******
                      ******    ***  ***  ***    ******
                       ******        ***        ******
                         ***************************
                            *********************
      75010d20
  17. 11 11月, 2014 1 次提交
  18. 10 11月, 2014 1 次提交
  19. 03 11月, 2014 1 次提交
  20. 29 10月, 2014 1 次提交
  21. 21 10月, 2014 3 次提交
  22. 16 10月, 2014 1 次提交
    • F
      Filters getting disposed by System.gc before EOL · bafbc23b
      fyrz 提交于
      Previous to this commit Filters passed as parameters to the
      BlockTableConfig are disposed before they should be disposed.
      
      Further Smart pointer usage was corrected.
      
      Java holds now the smart pointer to the FilterPolicy correctly
      and cares about freeing underlying c++ structures.
      bafbc23b
  23. 13 10月, 2014 2 次提交
    • F
      [RocksJava] Column family support · 18004d2f
      fyrz 提交于
      This commit includes the support for the following functionalities:
      
       - Single Get/Put operations
       - WriteBatch operations
       - Single iterator functionality
       - Open database with column families
       - Open database with column families Read/Only
       - Create column family
       - Drop column family
       - Properties of column families
       - Listing of column families
       - Fully backwards comptabile implementation
       - Multi Iterator support
       - MultiGet
       - KeyMayExist
       - Option to create missing column families on open
      
      In addition there is are two new Tests:
      
       - Test of ColumnFamily functionality
       - Test of Read only feature to open subsets of column families
       - Basic test to test the KeyMayExist feature
      
      What is not supported currently using RocksJava:
      
       - Custom ColumnFamilyOptions
      
      The following targets work as expected:
      
       - make rocksdbjava
       - make jtest
      
      Test environment: Ubuntu 14.04(LTS, x64), Java 1.7.0_65(OpenJDK IcedTea 2.5.2), g++ 4.8.2, kernel 3.13.0-35-generix
      18004d2f
    • F
      32-Bit RocksJava resolution for jlong overflows · 4f5a6872
      fyrz 提交于
      Summary:
      This pull request solves the jlong overflow problem on 32-Bit machines as described in https://github.com/facebook/rocksdb/issues/278:
      
      1. There is a new org.rocksdb.test.PlatformRandomHelper to assist in getting random values. For 32 Bit the getLong method is overriden by xpromaches code above. For 64 Bit it behaves as is.
      2. The detection should be cross-platform (Windows is supported though it is not ported completely yet).
      3. Every JNI method which sets jlong values must check if the value fits into size_t. If it overflows size_t a InvalidArgument Status object will be returned. If its ok a OK Status will be returned.
      4. Setters which have this check will throw a RocksDBException if its no OK Status.
      
      Additionally some other parts of code were corrected using the wrong type casts.
      
      Test Plan:
      make rocksdbjava
      make jtest
      
      Differential Revision: https://reviews.facebook.net/D24531
      4f5a6872
  24. 18 9月, 2014 1 次提交
  25. 24 7月, 2014 1 次提交
  26. 10 7月, 2014 2 次提交
  27. 08 7月, 2014 1 次提交
  28. 19 5月, 2014 1 次提交
  29. 14 5月, 2014 1 次提交