5f568790a5cee1d908b845ceef57c02305041c16
Files Diff
- Added: 4
- Removed: 1
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 1 | ||
Rename Variable st : PreparedStatement to prepStatement : WrappedPreparedStatement in method public execute(mutations List<Mutation>) : void in class org.apache.ignite.cache.store.cassandra.session.CassandraSessionImpl | From | To | |
Change Return Type | 2 | ||
Change Return Type PreparedStatement to WrappedPreparedStatement in method private prepareStatement(table String, statement String, settings KeyValuePersistenceSettings, tblExistenceRequired boolean) : WrappedPreparedStatement in class org.apache.ignite.cache.store.cassandra.session.CassandraSessionImpl | From | To | |
Change Return Type Session to WrappedSession in method private session() : WrappedSession in class org.apache.ignite.cache.store.cassandra.session.CassandraSessionImpl | From | To | |
Move Attribute | 1 | ||
Move Attribute private ses : Session from class org.apache.ignite.cache.store.cassandra.session.CassandraSessionImpl to package ses : Session from class org.apache.ignite.cache.store.cassandra.session.WrappedSession | From | To | |
Rename Class | 1 | ||
Rename Class org.apache.ignite.cache.store.cassandra.session.pool.SessionWrapper renamed to org.apache.ignite.cache.store.cassandra.session.pool.IdleSession | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable hndNum : int to sesGeneration : long in method private handlePreparedStatementClusterError(sesGeneration long, e Throwable) : void in class org.apache.ignite.cache.store.cassandra.session.CassandraSessionImpl | From | To | |
Rename Attribute | 1 | ||
Rename Attribute ses : Session to wrapperSes : WrappedSession in class org.apache.ignite.cache.store.cassandra.session.CassandraSessionImpl | From | To | |
Change Variable Type | 14 | ||
Change Variable Type preparedSt : PreparedStatement to preparedSt : WrappedPreparedStatement in method public execute(assistant BatchExecutionAssistant<R,V>, data Iterable<? extends V>) : R in class org.apache.ignite.cache.store.cassandra.session.CassandraSessionImpl | From | To | |
Change Variable Type expiredSessions : List<Map.Entry<CassandraSessionImpl,SessionWrapper>> to expiredSessions : List<Map.Entry<CassandraSessionImpl,IdleSession>> in method public run() : void in class org.apache.ignite.cache.store.cassandra.session.pool.SessionPool.SessionMonitor | From | To | |
Change Variable Type statements : Map<String,PreparedStatement> to statements : Map<String,WrappedPreparedStatement> in method public execute(mutations List<Mutation>) : void in class org.apache.ignite.cache.store.cassandra.session.CassandraSessionImpl | From | To | |
Change Variable Type prepStatement : PreparedStatement to prepStatement : WrappedPreparedStatement in method private prepareStatement(table String, statement String, settings KeyValuePersistenceSettings, tblExistenceRequired boolean) : WrappedPreparedStatement in class org.apache.ignite.cache.store.cassandra.session.CassandraSessionImpl | From | To | |
Change Variable Type st : PreparedStatement to prepStatement : WrappedPreparedStatement in method public execute(mutations List<Mutation>) : void in class org.apache.ignite.cache.store.cassandra.session.CassandraSessionImpl | From | To | |
Change Variable Type wrappers : Collection<SessionWrapper> to wrappers : Collection<IdleSession> in method public release() : void in class org.apache.ignite.cache.store.cassandra.session.pool.SessionPool | From | To | |
Change Variable Type entry : Map.Entry<CassandraSessionImpl,SessionWrapper> to entry : Map.Entry<CassandraSessionImpl,IdleSession> in method public run() : void in class org.apache.ignite.cache.store.cassandra.session.pool.SessionPool.SessionMonitor | From | To | |
Change Variable Type wrapper : SessionWrapper to wrapper : IdleSession in method public release() : void in class org.apache.ignite.cache.store.cassandra.session.pool.SessionPool | From | To | |
Change Variable Type old : SessionWrapper to old : IdleSession in method public put(cassandraSes CassandraSessionImpl, driverSes Session, expirationTimeout long) : void in class org.apache.ignite.cache.store.cassandra.session.pool.SessionPool | From | To | |
Change Variable Type hndNum : int to sesGeneration : long in method private handlePreparedStatementClusterError(sesGeneration long, e Throwable) : void in class org.apache.ignite.cache.store.cassandra.session.CassandraSessionImpl | From | To | |
Change Variable Type wrapper : SessionWrapper to wrapper : IdleSession in method public get(cassandraSes CassandraSessionImpl) : Session in class org.apache.ignite.cache.store.cassandra.session.pool.SessionPool | From | To | |
Extract Variable | 8 | ||
Extract Variable ses : WrappedSession in method public execute(assistant ExecutionAssistant<V>) : V from class org.apache.ignite.cache.store.cassandra.session.CassandraSessionImpl | From | To | |
Extract Variable ses : WrappedSession in method private createTableIndexes(table String, settings KeyValuePersistenceSettings) : void from class org.apache.ignite.cache.store.cassandra.session.CassandraSessionImpl | From | To | |
Extract Variable ses : WrappedSession in method public execute(assistant BatchLoaderAssistant) : void from class org.apache.ignite.cache.store.cassandra.session.CassandraSessionImpl | From | To | |
Extract Variable ses : WrappedSession in method private createTable(table String, settings KeyValuePersistenceSettings) : void from class org.apache.ignite.cache.store.cassandra.session.CassandraSessionImpl | From | To | |
Extract Variable ses : WrappedSession in method private prepareStatement(table String, statement String, settings KeyValuePersistenceSettings, tblExistenceRequired boolean) : WrappedPreparedStatement from class org.apache.ignite.cache.store.cassandra.session.CassandraSessionImpl | From | To | |
Extract Variable ses : WrappedSession in method public execute(mutations List<Mutation>) : void from class org.apache.ignite.cache.store.cassandra.session.CassandraSessionImpl | From | To | |
Extract Variable ses : WrappedSession in method public execute(assistant BatchExecutionAssistant<R,V>, data Iterable<? extends V>) : R from class org.apache.ignite.cache.store.cassandra.session.CassandraSessionImpl | From | To | |
Extract Variable ses : WrappedSession in method private createKeyspace(settings KeyValuePersistenceSettings) : void from class org.apache.ignite.cache.store.cassandra.session.CassandraSessionImpl | From | To | |
Change Attribute Type | 4 | ||
Change Attribute Type sesStatements : Map<String,PreparedStatement> to sesStatements : Map<String,WrappedPreparedStatement> in class org.apache.ignite.cache.store.cassandra.session.CassandraSessionImpl | From | To | |
Change Attribute Type tblAbsenceHandlersCnt : AtomicInteger to tblAbsenceHandlersCnt : Map<String,AtomicInteger> in class org.apache.ignite.cache.store.cassandra.session.CassandraSessionImpl | From | To | |
Change Attribute Type sessions : Map<CassandraSessionImpl,SessionWrapper> to sessions : Map<CassandraSessionImpl,IdleSession> in class org.apache.ignite.cache.store.cassandra.session.pool.SessionPool | From | To | |
Change Attribute Type ses : Session to wrapperSes : WrappedSession in class org.apache.ignite.cache.store.cassandra.session.CassandraSessionImpl | From | To |