9db3500e3aRepair the copyright per Casser author's request. Also fix DOS line endings.
develop
Greg Burd
2018-11-10 08:50:02 -0500
10138e82bfEnable cache iterators to remove from the statement cache.
2.1.x-SNAPSHOT
Greg Burd
2018-04-23 13:03:17 -0400
d179539a31Only unwrap cache implementation for clients who are expecting the Map interface.
Greg Burd
2018-04-23 12:37:49 -0400
06fe21d08eUpdate visibility to allow subclasses to change log message.
Greg Burd
2018-04-19 10:44:39 -0400
099fd999eeDon't stop the stopwatch if it's not running.
Greg Burd
2018-04-04 14:34:59 -0400
662a697d03Changes to andThen/orElse and adding exceptionally logic. On commit one or the other of andThen or orElse will fire based on the path (commit, abort). If during any of those an exception is thrown the exceptionally is called with the exception.
Greg Burd
2018-04-02 11:45:49 -0400
Merge pull request #2 from onshape/jgdef_delete_and_fixesGregory Burd2018-04-01 08:59:41 -0400
e6051b12e9Delegate-based delete-tracking cache implementation, fixes to javax.cache.Cache implementation, and unit tests
jgdef_delete_and_fixes
John de Freitas
2018-03-31 22:24:12 -0400
9f511cde74Revert "Not-yet-tested tracking of UOW deletes"
John de Freitas
2018-03-31 22:21:28 -0400
4b9187ebe5Revert "Delegate-based evict-tracking cache, fixes to core javax.cache.Cache implemenation MapCache, and unit tests"
John de Freitas
2018-03-31 22:21:18 -0400
93a81e7fd0Delegate-based evict-tracking cache, fixes to core javax.cache.Cache implemenation MapCache, and unit tests
John de Freitas
2018-03-31 22:18:28 -0400
3169d0c100Not-yet-tested tracking of UOW deletes
John de Freitas
2018-03-30 11:12:00 -0400
b27bc7d9a9Not-yet-tested tracking of UOW deletes
John de Freitas
2018-03-30 11:12:00 -0400
76b603f3d3Move the Guava JCache provider into the test targets only, don't assume a CacheManager instance exists.
Greg Burd
2018-02-08 14:46:31 -0500
d69d8a3b1eFinish first steps of JCache integration, UnitOfWork statement cache now merges into available JCache at commit.
Greg Burd
2018-02-08 10:09:23 -0500
6858cf6f48Integrate JCache for cached objects outside of a UnitOfWork.
Greg Burd
2018-02-07 18:41:39 -0500
Merge pull request #1 from onshape/pbeaman/remove-jamm-0.2.5-dependencyGregory Burd2018-01-27 06:41:46 -0500
2299939be3Remove test-scope dependency on jamm-0.2.5 because it conflicts with a later version and causes NoSuchMethodError when running unit tests in Eclipse
pbeaman/remove-jamm-0.2.5-dependency
pbeaman
2018-01-26 10:42:13 -0500
0ddacec354Removing Gradle files until switch is complete.
Greg Burd
2018-01-25 16:45:13 -0500
8b9d582fa5Mutation only needs to be different and can occur even when current is null.
Greg Burd
2018-01-25 12:57:37 -0500
96a8476fd8Null values have no keys in the map, so this test fails. In most casses we're here after we resolve a getter so we know this key is valid. Skip the check.
Greg Burd
2018-01-25 12:41:13 -0500
27dd9a4effInclude the post commit/abort function execution time that happens within/associated-with the scope of a UOW. Fix reset method to check both maps for updates.
Greg Burd
2018-01-24 09:28:19 -0500
26f41dab75Add notion of statement cache to UnitOfWork. Ignore call to useKeyspace when session isn't valid.
Greg Burd
2018-01-17 12:38:33 -0500
1da822ce57Fix build. Change scripts to use /usr/bin/env so that they work on NiXOS. Revert abort() logic.
Greg Burd
2018-01-16 13:10:12 -0500
1ef50ae179Allow an init path that doesn't require a non-null Cassandra/DataStax session/cluster context.
Greg Burd
2018-01-16 11:59:51 -0500
26c67e391aReview related fixes.
Greg Burd
2018-01-15 11:28:04 -0500
3554b7ecb5Add isDone() method on UnitOfWork.
Greg Burd
2018-01-14 12:51:49 -0500
0827291253Spoil futures not completed before an abort/commit of the UOW they belong too. Track read set for Entity/Drafted model objects.
Greg Burd
2017-11-15 13:56:03 -0500
1eccb631f3Fix logic that was failing to cache results on cache miss.
Greg Burd
2017-11-14 15:26:16 -0500
e932d0dcf2Check to ensure value not null.
Greg Burd
2017-11-14 10:06:13 -0500
618a7ea380Draft instances map is mutable and so are collection values inside the map, this makes the UPDATE logic straight forward when mutating in-cache draft objects. Also, fix one or two logic bugs with isAssignableFrom().
Greg Burd
2017-11-14 09:55:03 -0500
7a56059036Fix misuse of Drafted interface in tests. WIP fixing use of immutable collections in UPDATE/draft logic.
Greg Burd
2017-11-13 15:55:24 -0500
33d2459538Sometimes there are no filters.
Greg Burd
2017-11-13 11:01:30 -0500
d30361538cOperations now default to non-idempotent unless explictly set in the statement or if they contain fields that are idempotent (e.g. @Column(idempotent=true) or part of the primary key for the row).
Greg Burd
2017-11-13 10:36:16 -0500
a993af6c29Enable toggle for showing values in logged CQL statements. Default to true.
Greg Burd
2017-11-12 22:32:58 -0500
39a8643103Fix a few things.
Greg Burd
2017-11-12 21:37:59 -0500
d19a9c741dFixing a few corners of caching when using drafted entity objects. Working out kinks in merge logic for entity instances in UOWs.
Greg Burd
2017-11-10 22:48:40 -0500
6ff188f241Move statement logging into Operation, cover special case for batches. Cleanup UOW commit logging a bit.
Greg Burd
2017-11-09 15:03:30 -0500
2f0801d36fFix test to see if select is of Fun<?> type.
Greg Burd
2017-11-09 13:32:16 -0500
ad9261fda3WIP: started with wal idea, shifting to accounting table.
gburd/txn
Greg Burd
2017-11-09 12:05:09 -0500
b4dca9c710finish up batch feature for now
Greg Burd
2017-11-08 21:11:58 -0500
41e5d8c1e5wip: working on batch update times.
Greg Burd
2017-11-08 15:40:56 -0500
5570a97dffImproved support for batched statements.
Greg Burd
2017-11-08 13:50:39 -0500
eb22e3c72eAdded batch() to perform mutations as a batch at the commit of a unit of work. Lots of fixes.
Greg Burd
2017-11-07 21:23:33 -0500
a79e7dacf1Cache data from MaterializedViews under their parent name. Add some relationship constraints that can decorate getters in model classes and be used in some cases to better cache data.
Greg Burd
2017-11-06 13:49:34 -0500
e4cda1a268Re-enable (for now) the addition of ALLOW FILTERING to SELECT statements that include a filter column indexed by a non-standard index type (e.g. SASI, Lucene, etc.) as that's required and mysterious to end users.
Greg Burd
2017-11-02 15:05:43 -0400
377191f12aNo longer add allowFiltering based on entity properties, force user to add as required. Add information about Cassandra execution to the UOW log line when DEBUG. Throw errors when execution doesn't complete properly.
Greg Burd
2017-11-02 14:46:55 -0400
792d2b6598Find proper stack frame to use for purpose.
Greg Burd
2017-11-02 10:42:15 -0400
13eaa7e7eaChange how we find the frame to use for the UOW's purpose.
Greg Burd
2017-11-01 16:17:00 -0400
5905663c58Cached values were being updated to their database-specific values (Enum -> String) rather than their intended values.
Greg Burd
2017-11-01 14:24:03 -0400
857eadff45Avoid complications with merges in the session cache, evict and then update.
Greg Burd
2017-11-01 11:09:14 -0400
e1884cf52dRemove the 'final' from HelenusSession.
Greg Burd
2017-10-31 12:59:54 -0400
09a7fbc405Address some issues identified by FindBugs.
Greg Burd
2017-10-31 21:10:15 -0400
01a458a7f6A few minor fixes.
Greg Burd
2017-10-31 17:43:52 -0400