Tabnine Logo
GfxdIndexManager$ContainsKeyExecutorMessage.getLockingPolicy
Code IndexAdd Tabnine to your IDE (free)

How to use
getLockingPolicy
method
in
com.pivotal.gemfirexd.internal.engine.access.index.GfxdIndexManager$ContainsKeyExecutorMessage

Best Java code snippets using com.pivotal.gemfirexd.internal.engine.access.index.GfxdIndexManager$ContainsKeyExecutorMessage.getLockingPolicy (Showing top 6 results out of 315)

origin: io.snappydata/gemfirexd

@Override
public final int getMessageProcessorType() {
 // Make this serial so that it will be processed in the p2p msg reader
 // which gives it better performance.
 // don't use SERIAL_EXECUTOR if we may have to wait for a pending TX
 // else if may deadlock as the p2p msg reader thread will be blocked
 // don't use SERIAL_EXECUTOR for RepeatableRead isolation level else
 // it can block P2P reader thread thus blocking any possible commits
 // which could have released the SH lock this thread is waiting on
 return this.pendingTXId == null
   && getLockingPolicy() == LockingPolicy.NONE
   ? DistributionManager.SERIAL_EXECUTOR
   : DistributionManager.PARTITIONED_REGION_EXECUTOR;
}
origin: io.snappydata/snappydata-store-core

@Override
public final int getMessageProcessorType() {
 // Make this serial so that it will be processed in the p2p msg reader
 // which gives it better performance.
 // don't use SERIAL_EXECUTOR if we may have to wait for a pending TX
 // else if may deadlock as the p2p msg reader thread will be blocked
 // don't use SERIAL_EXECUTOR for RepeatableRead isolation level else
 // it can block P2P reader thread thus blocking any possible commits
 // which could have released the SH lock this thread is waiting on
 return this.pendingTXId == null
   && getLockingPolicy() == LockingPolicy.NONE
   ? DistributionManager.SERIAL_EXECUTOR
   : DistributionManager.PARTITIONED_REGION_EXECUTOR;
}
origin: io.snappydata/gemfirexd-core

@Override
public final int getMessageProcessorType() {
 // Make this serial so that it will be processed in the p2p msg reader
 // which gives it better performance.
 // don't use SERIAL_EXECUTOR if we may have to wait for a pending TX
 // else if may deadlock as the p2p msg reader thread will be blocked
 // don't use SERIAL_EXECUTOR for RepeatableRead isolation level else
 // it can block P2P reader thread thus blocking any possible commits
 // which could have released the SH lock this thread is waiting on
 return this.pendingTXId == null
   && getLockingPolicy() == LockingPolicy.NONE
   ? DistributionManager.SERIAL_EXECUTOR
   : DistributionManager.PARTITIONED_REGION_EXECUTOR;
}
origin: io.snappydata/gemfirexd-core

/**
 * @see TransactionMessage#canStartRemoteTransaction()
 */
@Override
public final boolean canStartRemoteTransaction() {
 return getLockingPolicy().readOnlyCanStartTX();
}
origin: io.snappydata/gemfirexd

/**
 * @see TransactionMessage#canStartRemoteTransaction()
 */
@Override
public final boolean canStartRemoteTransaction() {
 return getLockingPolicy().readOnlyCanStartTX();
}
origin: io.snappydata/snappydata-store-core

/**
 * @see TransactionMessage#canStartRemoteTransaction()
 */
@Override
public final boolean canStartRemoteTransaction() {
 return getLockingPolicy().readOnlyCanStartTX();
}
com.pivotal.gemfirexd.internal.engine.access.indexGfxdIndexManager$ContainsKeyExecutorMessagegetLockingPolicy

Popular methods of GfxdIndexManager$ContainsKeyExecutorMessage

  • <init>
    copy constructor for #clone()
  • executeFunction
  • existsKey
  • getProcessorId
  • getTXState
  • getTarget
  • getTimeStatsSettings
  • lastResult

Popular in Java

  • Reading from database using SQL prepared statement
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • addToBackStack (FragmentTransaction)
  • notifyDataSetChanged (ArrayAdapter)
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • JPanel (javax.swing)
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now