| /rocksdb-6.9/java/src/test/java/org/rocksdb/ |
| D | ComparatorOptionsTest.java | 23 copt.setReusedSynchronisationType(ReusedSynchronisationType.MUTEX); in reusedSynchronisationType() 25 .isEqualTo(ReusedSynchronisationType.MUTEX); in reusedSynchronisationType() 27 copt.setReusedSynchronisationType(ReusedSynchronisationType.ADAPTIVE_MUTEX); in reusedSynchronisationType() 29 .isEqualTo(ReusedSynchronisationType.ADAPTIVE_MUTEX); in reusedSynchronisationType() 31 copt.setReusedSynchronisationType(ReusedSynchronisationType.THREAD_LOCAL); in reusedSynchronisationType() 33 .isEqualTo(ReusedSynchronisationType.THREAD_LOCAL); in reusedSynchronisationType()
|
| /rocksdb-6.9/java/src/test/java/org/rocksdb/util/ |
| D | BytewiseComparatorIntTest.java | 72 { "non-direct_reused64_mutex", false, 64, ReusedSynchronisationType.MUTEX }, in parameters() 73 { "direct_reused64_mutex", true, 64, ReusedSynchronisationType.MUTEX }, in parameters() 74 … { "non-direct_reused64_adaptive-mutex", false, 64, ReusedSynchronisationType.ADAPTIVE_MUTEX }, in parameters() 75 { "direct_reused64_adaptive-mutex", true, 64, ReusedSynchronisationType.ADAPTIVE_MUTEX }, in parameters() 76 { "non-direct_reused64_thread-local", false, 64, ReusedSynchronisationType.THREAD_LOCAL }, in parameters() 77 { "direct_reused64_thread-local", true, 64, ReusedSynchronisationType.THREAD_LOCAL }, in parameters() 93 public ReusedSynchronisationType reusedSynchronisationType; 109 ….setReusedSynchronisationType(reusedSynchronisationType == null ? ReusedSynchronisationType.ADAPTI… in javaComparatorDefaultCf() 124 ….setReusedSynchronisationType(reusedSynchronisationType == null ? ReusedSynchronisationType.ADAPTI… in javaComparatorNamedCf()
|
| D | ReverseBytewiseComparatorIntTest.java | 73 { "non-direct_reused64_mutex", false, 64, ReusedSynchronisationType.MUTEX }, in parameters() 74 { "direct_reused64_adaptive-mutex", true, 64, ReusedSynchronisationType.MUTEX }, in parameters() 75 … { "non-direct_reused64_adaptive-mutex", false, 64, ReusedSynchronisationType.ADAPTIVE_MUTEX }, in parameters() 76 { "direct_reused64_adaptive-mutex", true, 64, ReusedSynchronisationType.ADAPTIVE_MUTEX }, in parameters() 77 { "non-direct_reused64_adaptive-mutex", false, 64, ReusedSynchronisationType.THREAD_LOCAL }, in parameters() 78 { "direct_reused64_adaptive-mutex", true, 64, ReusedSynchronisationType.THREAD_LOCAL }, in parameters() 94 public ReusedSynchronisationType reusedSynchronisationType; 110 ….setReusedSynchronisationType(reusedSynchronisationType == null ? ReusedSynchronisationType.ADAPTI… in javaComparatorDefaultCf() 126 ….setReusedSynchronisationType(reusedSynchronisationType == null ? ReusedSynchronisationType.ADAPTI… in javaComparatorNamedCf()
|
| D | IntComparatorTest.java | 71 { "non-direct_reused64_mutex", false, 64, ReusedSynchronisationType.MUTEX }, in parameters() 72 { "direct_reused64_mutex", true, 64, ReusedSynchronisationType.MUTEX }, in parameters() 73 … { "non-direct_reused64_adaptive-mutex", false, 64, ReusedSynchronisationType.ADAPTIVE_MUTEX }, in parameters() 74 { "direct_reused64_adaptive-mutex", true, 64, ReusedSynchronisationType.ADAPTIVE_MUTEX }, in parameters() 75 { "non-direct_reused64_thread-local", false, 64, ReusedSynchronisationType.THREAD_LOCAL }, in parameters() 76 { "direct_reused64_thread-local", true, 64, ReusedSynchronisationType.THREAD_LOCAL }, in parameters() 92 public ReusedSynchronisationType reusedSynchronisationType; 108 ….setReusedSynchronisationType(reusedSynchronisationType == null ? ReusedSynchronisationType.ADAPTI… in javaComparatorDefaultCf() 123 ….setReusedSynchronisationType(reusedSynchronisationType == null ? ReusedSynchronisationType.ADAPTI… in javaComparatorNamedCf()
|
| /rocksdb-6.9/java/src/main/java/org/rocksdb/ |
| D | ReusedSynchronisationType.java | 11 public enum ReusedSynchronisationType { enum 32 ReusedSynchronisationType(final byte value) { in ReusedSynchronisationType() method in ReusedSynchronisationType 54 public static ReusedSynchronisationType getReusedSynchronisationType( in getReusedSynchronisationType() 56 for (final ReusedSynchronisationType reusedSynchronisationType in getReusedSynchronisationType() 57 : ReusedSynchronisationType.values()) { in getReusedSynchronisationType()
|
| D | ComparatorOptions.java | 27 public ReusedSynchronisationType reusedSynchronisationType() { in reusedSynchronisationType() 29 return ReusedSynchronisationType.getReusedSynchronisationType( in reusedSynchronisationType() 43 final ReusedSynchronisationType reusedSynchronisationType) { in setReusedSynchronisationType()
|
| /rocksdb-6.9/java/rocksjni/ |
| D | comparatorjnicallback.h | 23 enum ReusedSynchronisationType { enum 48 ReusedSynchronisationType reused_synchronisation_type = 49 ReusedSynchronisationType::ADAPTIVE_MUTEX;
|
| D | comparatorjnicallback.cc | 74 == ReusedSynchronisationType::THREAD_LOCAL) { in ComparatorJniCallback() 102 m_options->reused_synchronisation_type == ReusedSynchronisationType::ADAPTIVE_MUTEX; in ComparatorJniCallback() 542 if (m_options->reused_synchronisation_type != ReusedSynchronisationType::THREAD_LOCAL in MaybeLockForReuse() 551 if (m_options->reused_synchronisation_type != ReusedSynchronisationType::THREAD_LOCAL in MaybeUnlockForReuse() 561 == ReusedSynchronisationType::THREAD_LOCAL) { in GetBuffer()
|
| D | portal.h | 7502 const ROCKSDB_NAMESPACE::ReusedSynchronisationType& in toJavaReusedSynchronisationType() 7505 case ROCKSDB_NAMESPACE::ReusedSynchronisationType::MUTEX: in toJavaReusedSynchronisationType() 7507 case ROCKSDB_NAMESPACE::ReusedSynchronisationType::ADAPTIVE_MUTEX: in toJavaReusedSynchronisationType() 7509 case ROCKSDB_NAMESPACE::ReusedSynchronisationType::THREAD_LOCAL: in toJavaReusedSynchronisationType() 7518 static ROCKSDB_NAMESPACE::ReusedSynchronisationType 7522 return ROCKSDB_NAMESPACE::ReusedSynchronisationType::MUTEX; in toCppReusedSynchronisationType() 7524 return ROCKSDB_NAMESPACE::ReusedSynchronisationType::ADAPTIVE_MUTEX; in toCppReusedSynchronisationType() 7526 return ROCKSDB_NAMESPACE::ReusedSynchronisationType::THREAD_LOCAL; in toCppReusedSynchronisationType() 7529 return ROCKSDB_NAMESPACE::ReusedSynchronisationType::ADAPTIVE_MUTEX; in toCppReusedSynchronisationType()
|
| /rocksdb-6.9/java/jmh/src/main/java/org/rocksdb/jmh/ |
| D | ComparatorBenchmarks.java | 89 comparatorOptions.setReusedSynchronisationType(ReusedSynchronisationType.MUTEX); in setup() 91 comparatorOptions.setReusedSynchronisationType(ReusedSynchronisationType.ADAPTIVE_MUTEX); in setup() 93 comparatorOptions.setReusedSynchronisationType(ReusedSynchronisationType.THREAD_LOCAL); in setup()
|
| /rocksdb-6.9/java/ |
| D | CMakeLists.txt | 184 src/main/java/org/rocksdb/ReusedSynchronisationType.java
|