Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
P
- Pack(int) - Constructor for class org.cojen.tupl.util.Clutch.Pack
- Pack(int, int) - Constructor for class org.cojen.tupl.util.Clutch.Pack
- PageArray - Class in org.cojen.tupl.io
-
Defines a persistent, array of fixed sized pages.
- PageArray(int) - Constructor for class org.cojen.tupl.io.PageArray
- PageCompressor - Interface in org.cojen.tupl.io
-
Compresses and decompresses pages.
- pageCount() - Method in class org.cojen.tupl.io.FilePageArray
- pageCount() - Method in class org.cojen.tupl.io.MappedPageArray
- pageCount() - Method in class org.cojen.tupl.io.PageArray
-
Returns the total count of pages in the array, or Long.MAX_VALUE if not applicable.
- pageCount() - Method in class org.cojen.tupl.io.SpilloverPageArray
- pageCount() - Method in class org.cojen.tupl.io.StripedPageArray
- pageCountLimit() - Method in class org.cojen.tupl.io.MappedPageArray
- pageCountLimit() - Method in class org.cojen.tupl.io.PageArray
-
Return maximum allowed page count, or -1 if not applicable.
- pageCountLimit() - Method in class org.cojen.tupl.io.SpilloverPageArray
- pageCountLimit() - Method in class org.cojen.tupl.io.StripedPageArray
- pageSize - Variable in class org.cojen.tupl.diag.DatabaseStats
-
The allocation page size
- pageSize() - Method in class org.cojen.tupl.io.PageArray
-
Returns the fixed size of all pages in the array, in bytes.
- pageSize(int) - Method in class org.cojen.tupl.DatabaseConfig
-
Set the page size, which is 4096 bytes by default.
- PANIC - Enum constant in enum class org.cojen.tupl.diag.EventType.Category
-
A panic indicates that something is wrong with the database, and it must be shutdown.
- PANIC_UNHANDLED_EXCEPTION - Enum constant in enum class org.cojen.tupl.diag.EventType
-
Signals that an unhandled exception has occurred, and the database must be shutdown.
- park(Object) - Static method in class org.cojen.tupl.util.Parker
-
Park after checking while spinning and yielding, to avoid putting the thread to sleep.
- Parker - Class in org.cojen.tupl.util
-
Alternative to directly using LockSupport for parking and unparking threads, which is much faster when threads are parked briefly.
- parkNanos(Object, long) - Static method in class org.cojen.tupl.util.Parker
-
Park after checking while spinning and yielding, to avoid putting the thread to sleep.
- parkNanosNow(Object, long) - Static method in class org.cojen.tupl.util.Parker
-
Park without performing more checks than necessary.
- parkNow(Object) - Static method in class org.cojen.tupl.util.Parker
-
Park without performing more checks than necessary.
- pending(long) - Method in interface org.cojen.tupl.CommitCallback
-
Called when a transaction is moving to the pending state.
- performsFiltering() - Method in interface org.cojen.tupl.Mapper
-
Returns true if the map method can filter out rows, which is true by default.
- plan(QueryPlan.Aggregator) - Method in interface org.cojen.tupl.Aggregator.Factory
-
Override this method to customize the aggregator's query plan.
- plan(QueryPlan.Grouper) - Method in interface org.cojen.tupl.Grouper.Factory
-
Override this method to customize the grouper's query plan.
- plan(QueryPlan.Mapper) - Method in interface org.cojen.tupl.Mapper
-
Override this method to customize the mapper's query plan.
- position() - Method in interface org.cojen.tupl.repl.Replicator.Accessor
-
Returns the next log position which will be accessed.
- position() - Method in interface org.cojen.tupl.repl.SnapshotReceiver
-
Returns the log position to start reading from.
- position() - Method in interface org.cojen.tupl.Snapshot
-
Returns the log start position that the snapshot applies to.
- preallocate(long) - Method in interface org.cojen.tupl.Database
-
Preallocates pages for immediate use.
- PREALLOCATE_ALWAYS - Enum constant in enum class org.cojen.tupl.io.LengthOption
-
Always attempt to preallocate, even if it's expensive.
- PREALLOCATE_NEVER - Enum constant in enum class org.cojen.tupl.io.LengthOption
-
Never attempt to preallocate when the file length increases.
- PREALLOCATE_OPTIONAL - Enum constant in enum class org.cojen.tupl.io.LengthOption
-
Only attempt to preallocate if it can be done quickly.
- predicate(String, Object...) - Method in interface org.cojen.tupl.Table
-
Returns a row predicate for the given query expression and arguments.
- prepare(Transaction, byte[]) - Method in interface org.cojen.tupl.ext.PrepareHandler
-
Called to prepare a transaction or to recover one.
- prepareCommit(Transaction, byte[]) - Method in interface org.cojen.tupl.ext.PrepareHandler
-
A prepare variant intended to be called by a two-phase commit coordinator after all participants have prepared their transactions.
- PrepareHandler - Interface in org.cojen.tupl.ext
-
Handler for prepared transactions.
- prepareHandlers(Map<String, ? extends PrepareHandler>) - Method in class org.cojen.tupl.DatabaseConfig
-
Provide handlers for recovering prepared transactions.
- prepareWriter(String) - Method in interface org.cojen.tupl.Database
-
Returns a handler instance suitable for preparing transactions.
- previous() - Method in interface org.cojen.tupl.Cursor
-
Moves to the Cursor to the previous available entry.
- previousGe(byte[]) - Method in interface org.cojen.tupl.Cursor
-
Moves to the Cursor to the previous available entry, but only when greater than or equal to the given limit key.
- previousGt(byte[]) - Method in interface org.cojen.tupl.Cursor
-
Moves to the Cursor to the previous available entry, but only when greater than the given limit key.
- PrimaryJoin(String, String[], QueryPlan) - Constructor for class org.cojen.tupl.diag.QueryPlan.PrimaryJoin
- PrimaryKey - Annotation Interface in org.cojen.tupl
-
Annotation which defines the set of columns that uniquely identify a row instance.
- printTo(PrintStream) - Static method in interface org.cojen.tupl.diag.EventListener
-
Returns a new listener that prints messages to the given stream.
- printTo(PrintStream) - Method in class org.cojen.tupl.diag.QueryPlan
- priorityAwait(Latch, long, long) - Method in class org.cojen.tupl.util.Latch.Condition
-
Blocks the current thread until a signal is received.
- progress() - Method in interface org.cojen.tupl.Sorter
-
Returns an approximate count of entries which have finished, which is only updated while sort results are being finished.
- PROXY - Enum constant in enum class org.cojen.tupl.repl.Role
-
Proxy members receive replicated data, and they can proxy writes.
- proxyWrites(boolean) - Method in class org.cojen.tupl.repl.ReplicatorConfig
-
Pass true to proxy writes from the leader, reducing load on the leader, but increasing commit latency a bit.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form