All Classes and Interfaces
Class
Description
A compex type of
RoutingStrategy
where each invocation goes to all known RemoteInvoker
instances
and then combines the results together into a single result.Represents an abstract
Publisher
instance.Created by patricktwohig on 3/26/15.
Created by patricktwohig on 5/8/15.
Created by patricktwohig on 4/8/15.
Allows for modification of the inventory using the advanced API.
Given the expected number of calls, this generates a
Consumer
which will aggregate all results together
until a set number of responses occur.Created by patricktwohig on 6/26/17.
Created by patricktwohig on 6/26/17.
Created by patricktwohig on 6/26/17.
Implementation for users with
User.Level.UNPRIVILEGED
users.Created by patricktwohig on 4/1/15.
Used to indicate that the Apple verify receipt API returned a valid JSON response but with an error "status" code in
the response body.
Represents an application.
Loads the assets for a particular application as defined by the
ApplicationId
.Ties the
Application
model to one of its associated profiles as represented by the ConfigurationCategory
enumeration.Created by patricktwohig on 7/13/15.
Created by patricktwohig on 7/13/15.
Manages the lifecycle of the various
ApplicationConfiguration
instances.Selects the appropriate
ApplicationConfigurationService
based on the User.getLevel()
property.Created by patricktwohig on 7/10/15.
Handles the deployment of
Element
s defined by Application
s.Manages the loaded
Element
instances.A record which holds the registry records for a particular application.
Uniquely identifies an application.
Hello world!
Created by patricktwohig on 8/1/17.
Created by patricktwohig on 7/9/15.
Manages the lifecycle of the
Application
instance.Created by patricktwohig on 7/10/15.
Easy-to-use entrypoint for appnode.
Constants for the Application Server (often times called appserve) component.
Controls access to bare files in a repository.
Created by patricktwohig on 8/15/17.
Represents an asynchornous type of
Connection
.Enumeration of events for which to listen.
Represents a group of
AsyncConnection
s which all are serviced by the same thread.An interface to an underlying pool of sockets.
A system-wide service to house
AsyncConnection
instances.Used to open on-demand instances of the
ControlClient
.Represents a pending request that this
AsyncControlClient
is making.Represents a response produced by the remote end.
Response
'
A special return type which can be returnd by methods annotated with
RemotelyInvokable
which also meet the
requirements for having the Dispatch.Type.ASYNCHRONOUS
.Used to implement a publish/subscribe system.
Special type for handling some async operations.
Contains attributes which represent contextual information for various types.
Represents a single
Attributes.Attribute
.Created by patricktwohig on 8/4/17.
Created by patricktwohig on 6/26/17.
Created by patricktwohig on 6/26/17.
Names the authentication schemes used by the API.
Manages instances of
AuthScheme
.Created by patricktwohig on 8/16/17.
Thrown when a bad search query is encountered.
Created by patricktwohig on 8/14/17.
Created by patricktwohig on 8/14/17.
Created by patricktwohig on 3/25/15.
Created by patricktwohig on 8/1/17.
Simplest type of Auth header, the bearer header.
Enumerates the various blockchain protocols supported by elements.
The status of the mint request
Deprecated.
Deprecated.
migrate this to a configurable parameter
Enumerates the systems supported blockchains.
Translates a free-form query string to a Morphia
Query
.This routing stragegy will broadcast to all nodes.
Indicates a Callback type.
Specifies case format translation.
Deals with instances of
Cipher
as well as provides some standard utilities for encrypting data.Specifies the serialization strategy for a model.
Parses Git client User-Agent strings.
A type of
Context
which is used to house remotely invokable instances.Module defaults for the code server.
Indicates the exposed code style.
Created by patricktwohig on 5/25/17.
A thread-safe
Publisher
which uses a standard ConcurrentLinkedDeque
to perform operations.Implements a
AsyncPublisher
using a Lock
to control concurrency.A reference map backed by either a
WeakReference
or SoftReference
Represents the platform with which SocialEngine integrates.
Created by patricktwohig on 4/3/15.
Represents a connection to the remote node.
Created by patricktwohig on 8/5/15.
Created by patricktwohig on 4/6/15.
Service layer constants.
Defines some useful regex patterns.
Created by patricktwohig on 8/14/17.
Represents the connection the backend cluster of services.
Builds a
Context
which can communicate with a specific application.Similar to a
CountDownLatch
.Deprecated.
This needs to be replaced with a dispatch to an
Element
via ElementRegistry
Used to open on-demand instances of the
ControlClient
.Created by patricktwohig on 9/30/15.
Utility functions for crypto keys.
Houses a
ReentrantThreadLocal
to represent the currently available
ReentrantThreadLocal<Attributes>
Used to authorize requests using JWT auth tokens
Created by robb on 12/20/21.
JWT Credentials used with custom auth schemes.
Defines the data storage for underlying revision based data store.
Implements the default configuration scheme.
Created by patricktwohig on 4/10/15.
Create and configure
ReceivePack
service
instance.The default
RoutingStrategy
which simply selects a RemoteInvoker
from the
RemoteInvokerRegistry
using RemoteInvokerRegistry.getBestRemoteInvoker(ApplicationId)
and sends the
Invocation
there.Create and configure
UploadPack
service
instance.Creates a default user for first time Elements setup
Indicates that the
This annotation specifies the dispatching strategy for the method.
The dispatch type.
Distinct inventory item Dao.
Manages distinct items in the
Created by patricktwohig on 7/31/17.
Created by patricktwohig on 8/14/17.
Created by patricktwohig on 4/8/15.
Represents an instance of an SDK Element, similar to a java
Element
but with more flexibility at the expense
of the rigid encapsulation rules.Finds a
Callback
from within a service type.A
ClassLoader
type which inspects classes at load time processing the visibility annotations provided by the
Elements' SDK.Annotates a static final non-null field.
Represents the default value of the attribute.
Defines a
Element
.Represents the record pertaining to the
ElementDefinition
annotation.Parses a designated component.
Annotates a method capable of receiving an instance of
Event
.Represents a consumer method for an
Event
.Repeatable
type for ElementEventConsumer
.Used for documentation and reporting.
Repeatable
type for ElementEventProducer
.Interface for loading SDK Elements.
Used to specify the system default
ElementLoader
.The
ElementLoader
factory.
A constructor type for a
ClassLoader
.Instructs the Element
ClassLoader
to copy the annotated from its parent ClassLoader
and load into the
ClassLoader
for the Element
running within it.Specifies a java package to include in the element scanning process.
A record for the
ElementPackage
Used to load
Element
instances from local paths on disk.Indicates a type or all types within a package are to be considered public and exposed to all other elements.
Indicates a type or all types within a package are to be considered public and exposed to all other elements.
The beginning queyr for a
Element
instance based on a ElementRegistry
.A Record type encapsulating all of the metadata for a particular
Element
.Some basic utilities for accessing reflections within SDK code.
Represents a registry for
Element
instances.Gets a shared instance of
ElementRegistry
which can be used to load Element
instances into the
application.Associates a set of
Attributes
with a transient state for the Element
.Builds the specific instances to go into the scope.
Represents an open handle for an open
ElementScope
on the current thread.Provides a registry where a
Element
may be registered.Factory type for the
ElementScopedElementRegistry
.Maintains a singleton instance of an
Element
.This class is used to manage the scopes of elements in the registry.
Builder class for ElementScopes.
This module binds the core filters used in the Elements web service.
Defines a service provided by the element.
Exports the target type making it available in the
ServiceLocator
methods.A record type for the
ElementServiceExport
.Repeatable
type for ElementServiceExport
.Specifies an implementation of a service.
A marker class used as a placeholder to indicate that there is no specified implementation.
A record for the
ElementServiceImplementation
annotation.A record type which represents a key for a service.
Record type for
ElementService
annotationRepeatable
type for ElementService
.Runs a local instance of Elements suitable for debugging.
A builder type for the
ElementsLocal
instance.Deprecated.
A set of standard Java Bean properties which will be injected into components as-needed.
Defines a bean property.
Enumeration of the various web service components supported within Elements.
Specifies the type of the
Element
, which has largely to do with its loading semantics.A container for a client
Instance
.Base interface for an embedded
Instance
container.Represents a completely and entirely separate test kit.
A container for a client
Instance
.Constants for environment variables.
An enumeration of error codes which may provide greater detail as to why
a problem occurred.
Designates a
FunctionalInterface
annotated-type parameter which will receive an exception thrown from a
remote invocation.Created by patricktwohig on 4/10/15.
Send a fixed status code to the client.
Represents an event to be handled by
Element
instances.Utility class to build
Event
instances.Manages events.
A service which allows for the invocation of methods belonging to an EVM Smart Contract.
A type which performs the final invocation to the underlying smart contract.
Operates with an exclusive lock to the database.
Defines a module which will be exposed to the scripting engine layer.
Resolves an instance of
Annotation
given the supplied ModuleDefinition
Annotation type which indicates that no annotation type is defined.
Utility class for resolving the binding annotation.
Created by patricktwohig on 6/14/17.
Created by patricktwohig on 6/14/17.
Created by patricktwohig on 6/14/17.
Created by patricktwohig on 6/14/17.
Created by patricktwohig on 6/15/17.
Scans for
FacebookPermission
annotated types.Specifies a requested permission.
Aggregates several
FacebookPermission
instances which will be used to
build the list of default permissions used by an Application
.Represents a notification registration with Firebase.
Manipulates instances of
FCMRegistration
in the underlying database.Manages instance of
FCMRegistration
.This loads an instance of
Repository
from a place on the filesystem.A special class which will load an
ApplicationId
's code to a local temporary directory where it can be
processed and run.A
FunctionalInterface
which performs a series of actions when it is closed.Creates instances of
FirebaseApp
from a variety of sources.The
FirebaseApplicationConfigurationService
manages instances of the FirebaseApplicationConfiguration
within the database.A type of
InvocationErrorConsumer
which accepts an instance of Throwable
and forwards it to the
delegate.A service which allows for invocation of Flow based smart contracts.
Used to make invocations on the Flow blockchain.
Allows access to instances of
CreateFollowerRequest
.Created by GarrettMcSpadden on 12/7/2020.
Created by patricktwohig on 3/19/15.
Provides database-level access to
Friend
instances.Allows access to instances of
Friend
.Represents the type of relationship the user has with another user.
The GitLoader takes a clone of an existing git repository, and allows downstream code access to that directory.
Handles Git repository access over HTTP.
Handles Git repository access over HTTP.
Created by patricktwohig on 8/2/17.
Utility functions for handling the Git-over-HTTP protocol.
Represents the application profile and any associated metadata, such as APNS certificate
or other information.
Handles the management of
GooglePlayApplicationConfiguration
instances.Created by patricktwohig on 5/24/17.
Constants used by Guice configuration.
The
GuiceElementLoader
uses Guice to scan and instantiate an SDK element using a guice element with the
following strategy.Created by patricktwohig on 9/1/15.
Bridges the gap between a Guice
Injector
and an ServiceLocator
.Used to bind services.
Used to manage handler-type
Resource
instances.A happy little servlet.
An interface which may report a
NodeId
.Supplies an
Optional
for a header type.A place to store the non-standard HTTP header (and related) constants.
Generates a
HealthStatus
Deprecated.
use
Hex
The case (upper or lower case).
Thrown when the hex string is not valid.
Interface to a Hex-able ID.
Translation bundle for JGit http server
Created by patricktwohig on 8/2/17.
Created by patricktwohig on 8/1/17.
Manipulates the identity frames on an instance of
ZMsg
.A type of
Attributes
which is immutable.For types which have a
MetadataSpec
.Indicates a specific type of indexable type.
Represents an association between a
Path
and the ResourceId
to which it points.The result of the
IndexContext.unlinkAsync(Path, Consumer, Consumer)
and IndexContext.unlink(Path)
call.Provides an abstract way to apply indexes to the database.
Executes an index operation within a scope which controls multiple concurrent accesses
Represents an implementation-specific type of index metadata.
Indicates the operation to be performed against the index.
Plans index updates in a database-agnostic way.
Used to access the indexes in the database.
A type of
Attributes
that inherits from a base set of attributes.A set of attributes that inherits from a base set of attributes.
Wraps an instance of
ReadableByteChannel
using a ByteBuffer
.Represents a running
Instance
of the application.The instance connection service handles the dirty details of connecting to a remote Node and keeping track of
nodes connected in the system.
Represents a binding.
Represents a connection to a remote instance.
Tracks and discovers remote instance of instances that have announced themselves on the network.
Gets an instance of
InstanceDiscoveryService
by reading system defines and if none are found reverting to a
default implementation.Gets host information for an instance.
Represents an ID for an instance.
Provides data for an Instance, which is representative of the physical machine running one or more nodes.
Represents the instance status, which lists the
Created by patricktwohig on 8/15/17.
Created by patricktwohig on 3/30/15.
Thrown by methods which may convert values.
Created by patricktwohig on 4/1/15.
Created by patricktwohig on 4/10/15.
Represents an inventory item.
Created by davidjbrooks on 11/11/18.
Represents a remote invocation.
Returned when there exists an error.
Contains the result of the remote invocation.
Deprecated.
Deprecated.
Represents the application profile and any associated metadata, such as APNS certificate
or other information.
Handles the management of
IosApplicationConfiguration
instances.Created by patricktwohig on 5/24/17.
Represents an Item that is a Digital Good.
Identifies the category of an
Item
for sale.Allows for accessing of the various
Item
s in the database.Searches an
Element
for a service of type Application
and loads it into the application container
making all types specified in the Application
available as RESTful API Calls.Combines
JeroMQRemoteInvokerModule
with the ClusterContextModule
to make a complete client
module with adjustable parameters.Implements the control protocol for interfacing with the
JeroMQInstanceConnectionService
.Implements JeroMQ CURVE Encryption using one of three possible combinations.
Embeds a test kit which supplies two
Instance
s.Creates a new
Node
.Implements a security chain for JeroMQ Sockets.
An opaque context which is started first and stopped last by the
TransactionalResourceServicePersistence
.Names specific JSON-RPC Constants.
Directs the client to the remote endpoint using a 307: Temporary Redirect to the underlying API.
Processes
JsonRpcRequest
instances and converts to Invocation
.Represents the resolved invocation which includes the
Invocation
and the ResultHandlerStrategy
used to dispatch the method call to the underlying system.Provides the
JsonRpcManifest
.Configures a JSON RPC module.
Implements the JSON-RPC Redirection Strategy.
Constants for the JSON Schema type.
Represents a bucket for storing the contents of
LargeObject
s.Created by patricktwohig on 6/29/17.
Manages tasks queued to an instance of
ExecutorService
managing execution through a
CompletionServiceLatch
.Subclass of
LatchedExecutorServiceCompletionService
only for use with a ScheduledExecutorService
Represents a Lazy-loaded value which is loaded only on the first call to get.
Provides CRUD operations for Leaderboard instances in the database.
Manages instances of
Leaderboard
.A non-threadsafe publisher which tracks subscribers in a linked list.
Aggregates all results.
Monitors the load of the local instance and reports information such as CPU load and Memory load.
Represents a local application element record.
Dispatches
Invocation
instances to the objects in the container, collects the result, and relays any errors.Implements the strategy by which the
Invocation
is dispatched to the local Object
in memory.If the
Method
called from the Invocation
returns a Future
instance, this may defined
a strategy for handling the result.Inspects the attributes, parameters, and annotations of a specific
Method
to build an instance of
LocalInvocationDispatcher
to dispatch Invocation
instances to a local object in memory.Locks a set of objects based on their identity in a consistent and order ensuring no deadlocks when having to acquire
multiple locks.
Loads the various manifest types over the network to be used by dependent services.
Created by patricktwohig on 8/14/17.
Created by patricktwohig on 8/15/17.
Maps instances of one type to another.
Represents a mapping between two types.
Represents a mapping between two types.
Deprecated.
This needs to be replaced with a dispatch to an
Element
via ElementRegistry
Created by patricktwohig on 7/18/17.
Created by patricktwohig on 7/20/17.
Represents the supported matching algorithms supported by SocialEngine.
Created by patricktwohig on 7/27/17.
Supplies a
Matchmaker
based on the algorithm.Combines a
Match
for both a player and an opponent.Manages match resources
Created by patricktwohig on 7/18/17.
Manages instances of
Match
.Provider for the
MatchService
.A type that assists the services classes in paring players.
Created by garrettmcspadden on 11/23/21.
An interface for a type which has metadata spec properties.
The field type of the field inside MetadataSpec
Created by tuantran on 04/12/22.
Manages instances of
MetadataSpec
.Generic container filter to manage routing to different pipelines.
Generic container servlet to manage routing to different pipelines.
Assigns the previous action to a particular
Method
.Dispatches invocations of methods against
Resource
instances.Created by patricktwohig on 8/14/17.
Provides support for X-Http-Method-Override.
Deprecated.
Represents a mission.
Created by davidjbrooks on 11/24/18.
Created by davidjbrooks on 11/27/2018.
Manages instances of mock session.
Created by patricktwohig on 8/16/17.
Introspects models based on the underlying serialization configuration.
Created by patricktwohig on 8/16/17.
Loads the
ModelManifest
.Deprecated.
Defines an exposed module.
Created by patricktwohig on 7/10/15.
Created by patricktwohig on 7/10/15.
Created by patricktwohig on 7/13/15.
This encapsulates the basic operations for handling the types derived from
MongoApplicationConfiguration
reducing the boilerplate code needed toCreated by patricktwohig on 7/10/15.
Created by patricktwohig on 4/3/15.
A class that helps reduce the boilerplate code when atomic operations are necessary.
Thrown when there is too much contention over a particular resource.
Thrown when the operation fails.
A basic a atomic operation.
General exception type for a failure of an Optimistic operation.
Created by patricktwohig on 6/29/17.
Configures any Mongo-specific system properties.
Created by patricktwohig on 5/25/17.
Created by patricktwohig on 5/17/15.
Created by patricktwohig on 5/8/15.
Interface to provide mappings.
Some helper methods used in various parts of the MongoDB code.
Created by patricktwohig on 5/25/17.
Created by patricktwohig on 6/15/17.
Created by patricktwohig on 7/27/17.
Represents a unique id between two
MongoUser
instances, forming a MongoFriendship
.Created by patricktwohig on 5/31/17.
Created by patricktwohig on 6/29/17.
Created by patricktwohig on 5/31/17.
Created by patricktwohig on 6/29/17.
Created by patricktwohig on 7/21/17.
Created by patricktwohig on 7/25/17.
A document type which locks a
MongoMatch
instance.Created by patricktwohig on 7/28/17.
Created by patricktwohig on 7/30/17.
Used to actually perform the match between two players.
Mongo DTO for a mission.
Created by patricktwohig on 6/25/17.
Created by patricktwohig on 6/28/17.
Created by patricktwohig on 6/28/17.
Mongo DTO for a mission progress.
Created by patricktwohig on 7/10/15.
MongoDOzer
Mongo DTO for a mission step reward.
Created by patricktwohig on 6/28/17.
Specifies the type of the session.
A type used to wrap up a securely generated key to use as an ID for a
MongoSession
.Mongo DTO for a mission step.
A test instance runner for mongo.
Created by patricktwohig on 3/31/15.
MongoDB implementation of
UserDao
.Convenience wrapper to automatically manage the state of an underlying lock, series of locks, or semaphores.
Represents a set of mutable attributes.
Interfaces for a mutable
ElementRegistry
.Generates names based on the system configuration.
A service which allows for invocation of Near based smart contracts.
Used to make invocations on the Near blockchain.
Represents the worker node for a single Application.
Allows for the creation of
Node
instances on-the-fly.Represents a pending node shut-down process.
Represents a pending node start-up process.
Represents a single worker in the deployment cluster, i.e.
Informs the underlying application, contained in the
Node
, of the various livecycle events.Defines the state of the Node.
A special type of
IOException
used by the InputStreamAdapter
and the OutputStreamAdapter
to
indicate that the backed channel is currently in a non-blocking mode.Thrown to indicate there is no suitable
Match
found.Created by patricktwohig on 3/19/15.
Once configured, this will perform the action to finally send the
Notification
.Builds instances of
Notification
based on input parameters.Thrown when there is a misconfiguration or missing configuration setting pertaining to notifications.
Represents a single destination for
Notification
.Represents a notification event.
A Factory type which returns a
NotificationFactory
.Specifies the parameters used to send the
Notification
.Uses the scope of the current operation to build instances of
NotificationBuilder
.Created by patricktwohig on 7/18/17.
Indicates that a
ResourceId
exists, but theUsed to indicate a
TaskEntry<?>
which is null.Uses an instance of
ObjectMapper
to deserialize the payload from the InputStream
.Uses an instance of
ObjectMapper
to deserialize the payload from the OutputStream
.Enumeration of the claims elements uses when processing OIDC JWT tokens.
Thrown when an operation is not found in the manifest somewhere.
Created by patricktwohig on 3/25/15.
Walks set of data that is managed through a
Pagination
.Used to fetch the next page of a collection.
Similar to
Path
, but supports the parsing of parameters to the path.Created by patricktwohig on 4/6/15.
An interface to generate a password.
Deprecated.
Represents the path scheme for use in the server.
The raw data structure which backs the
Path
type.Manages the index of paths to revisions
ResourceId
s as well as the inverse relationship.Represents a listing of a
Path
.Sorts all
Path
instances with paths containing a wildcard appear first in the sort order.Sorts all
Path
instances with paths containing a wildcard appear last in the sort order.Handles the actual details of writing to the
OutputStream
.Handles the actual details of writing an
Object
to a byte stream.Represents a chain of key specifications which may be found in a single PEM file.
Represents a section of PEM (Privacy Enhanced Mail) data which may include a section of a key.
Validates a PEM file when passed
Allows application code to specify a list of permitted packages which will be visible to
Element
instances
when loaded with the ElementType.ISOLATED_CLASSPATH
.Allows application code to specify a list of permitted types which will be visible to
Element
instances
when loaded with the ElementType.ISOLATED_CLASSPATH
.Drives the instance-wide persistence system, if available.
Provides a means to a persist the state of
Resource
instances as managed by an associated
ResourceService
.Enumeration of the private claims elements uses when processing JWT tokens.
Represents the signing algorithm for the
AuthScheme
.Represents the set of items to issue to a user when they purchase a product id, defined at the
ApplicationConfiguration
level.Represents a single reward to be issued when a
ProductBundle
is purchased, i.e.Represents a user's profile.
Created by patricktwohig on 6/28/17.
Implements the logic to override the profile when making requests.
Created by patricktwohig on 6/27/17.
Manages instances of
Profile
.Created by patricktwohig on 6/27/17.
Represents the mission state (i.e., progress).
Created by davidjbrooks on 12/05/18.
Created by davidjbrooks on 12/05/2018.
An instance of
Attributes
backed by a Properties
instance.Created by patricktwohig on 8/16/17.
Designates a method parameter as capable of providing a routing address.
Indicates that the annotated type is proxyable.
Provides a delegate type for any interface allowing the underlying implementation to be swapped out as necessary.
Houses the necessary information for the Sony WebAPI to communicate with the SocialEngine system.
Handles the management of
PSNApplicationConfiguration
instances.Created by patricktwohig on 5/24/17.
Created by patricktwohig on 5/24/17.
Publishes events to multiple subscribers.
Represents a Query type for querying within an
ElementRegistry
Provides access to
Rank
instances stored in the database, correlating and filtering data as necessary.Queries and combines instances of
Leaderboard
and Score
to calculate player rank.Represents a read only transaction.
Defines a set of mutable transactional operations.
Handle git-receive-pack errors.
Process a git-receive-pack request.
Backed by a
ThreadLocal<T>
, this allows for the creation of a thread-local scope which can be entered and
exited multiple times, provided that the underlying calls are balanced.The current scope for the
ReentrantThreadLocal
A generic Guice
Scope
which can be used to track an instance of an object using a
ReentrantThreadLocal<ScopedT>
.Houses some utility logic for interacting with the Reflection API.
Switch servlet path and path info to use another regex match group.
Holds a connection to the remote service and dispatches
Invocation
.Manages connections to the cluster.
Represents the remote invoker status.
Designates a method as being remotely invokable.
Provides scoping metadata for an exposed service.
Indicates a type is a remotely-invokable service.
Used when a remote procedure call relays an instance of
Throwable
.Open a repository named by the path info through
RepositoryResolver
.Prepends a message request, providing scope and other information about how to dispatch the invocation.
A
Resource
is a logical unit of work, which is represented by an instance of this type.The interface for manipulating
Resource
s in the cluster.Represents a node in the
Snapshot
.A Operational Strategy type for the supplied
ResourceEntry
.Represents the globally unique ID for a particular resource.
Allows for fetching and opening of the
Resource
data.Created by patricktwohig on 8/14/17.
A Guice
Scope
which tracks the current Resource
.This is the service responsible for maintaining a set of
Resource
instances.Contains the association between the
Path
and ResourceId
.Acquires a
Resource
, guaranteeing it will stay in memory until this object is closed.Represents a transaction against a single instance of a
Resource
.The return-value for methods such as
ResourceService.unlinkPath(Path)
and ResourceService.unlinkPath(Path, Consumer)
Enumeration of the various server reserved response codes.
Prepends a message response, providing scope and other information about the response.
Created by patricktwohig on 3/20/15.
Created by patricktwohig on 3/19/15.
Provides a means to accept results returned by instances of
MethodDispatcher
Designates a
FunctionalInterface
annotated-type parameter which will receive the result returned from a
remote invocation.This defines the strategy of how JSON-RPC handles the response.
Provides a reason as to why a task was resumed, typically by the
SchedulerContext
, but
not always.Allows for the manipulating of handler
Resource
s as shared instances.Represents a mission step reward.
Manipulates the instances of
RewardIssuance
, including the operations to ensure tha the rewards are properly
inserted into the database and credited to a user's inventory in an atomic way.Represents a PEM label per RFC-7468
Implements
ElementRegistry
at the root level with no parent.Specifies a singleton
ElementRegistry
instance scoped with the name specified in ElementRegistry.ROOT
and makes it available to the entire application.Implements a round-robin data structure which will repeatedly select from a set of values ensuring an even
distribution across all values.
Allows for round-robin iteration of a list of objects in a thread safe.
Specifies the routing information for the method call.
Designates a method that provides the routing address.
A
RoutingStrategy
relies on the RemoteInvokerRegistry
and address data to route an Invocation
to a specific RemoteInvoker
based on the addressing parameters in the method that is invoked.A
RoutingStrategy
which ensures that accepts all address components are instances of HasNodeId
and
that all NodeId
instances point to the same place.Accesses save data documents from the database.
Saves and retrieves documents from the save document system.
Thrown when an instance of
SaveDataDocument
can't be found.Provides access to
Schedule
instances within the database.Manges
ScheduleEvent
instances within the database.Manages
Progress
instances for theThe Scheduler is the main entry point dispatching requests and operations to the various
Resource
instances
contained in the underlying services.This is the
Proxyable
for scheduling tasks within the cluster.Internal interface used to handle scoping of
EvmSmartContractInvocationService.Invoker
instances.A Factory type which is used to make instances of invalid input: '{@link /*missing*/}'
Manipulates instances of
Score
within the database.Creates and manages instances of
Score
.Thrown when a
ElementLoaderFactory
cannot find the requested element.Represents a generic exception for the
ElementLoader
and related types.Securely reads the prompt from a shell (without echoing what is typed).
Designates a method parameters to be serialized for remote invocation.
This is the main class used to manage the lifecycle of the underlying
Scheduler
instances.Used to access instances which would otherwise be provided using the javax.getInstance annotations javax.injext.Inject and
javax.injext.Named.
Deprecated.
This needs to be replaced with a dispatch to an
Element
via ElementRegistry
A class which helps implement the
Provider
instances
for the service-level objects.Created by patricktwohig on 3/19/15.
Binds a servlet to a URL.
A utility interface which allows the for the separation of logic from the
ServletModule
.Common utility functions for servlets.
Represents a session authorized by Elements.
Manages instances of
Session
.Parses the value in the session secret header specified in
Headers.SESSION_SECRET
.A Setup utility that can be run from the command-line.
An interface for the sub-commands.
Created by patricktwohig on 6/14/17.
A type of
AsyncConnectionService
which uses an internal reference count to ensure that the backed
AsyncConnectionService
is opened and closed properly.Defines a new
Element
which is sourced from the guice bindings visible to the module at the time the injector
was created.A simple way to manage shutdown hooks.
A
BooleanQueryParser
based on Sidhant Aggarwal's boolean query parser.Simple implementation of
Attributes
backed by a Map<String,Object>
.Builder for
SimpleAttributes
.Provides data for an Instance.
Created by davidjbrooks on 11/14/2018.
A value that lazily loads the first time it is fetched.
Represents a key for a
MapperRegistry.Mapper
or an MapperRegistry.Updater
A simple reference type intended to be used in lambda functions.
The simple handler server is responsible for dispatching requests and events to all
Resource
instances
contained therein.Represents a single async style RPC method.
Represents a single return style RPC method.
Used to implement handler types.
Represents the smart contract address.
Manages smart contracts in the database.
Returned by methods such as
SmartContractInvocationService.resolve(String, BlockchainNetwork)
which
ensures that the underlying contract and configuration exists for the associated contract.Represents a loaded and limited snapshot of the database.
Builds an instance of
Snapshot
.A special type of
InternalException
indicating that the Snapshot
has no knowledge of a specified
Path
or ResourceId
.Some utility classes useful to SPI Implementations.
Houses services that do not follow a majority of the scoping rules, but also do not exist strictly in the unscoped
space.
Contains a listing of all
StartupOperation
Represents a single operation performed by a startup function.
Works around an issue in the base
ResourceServlet
which seems to be incompatible with Guice.Created by patricktwohig on 8/3/17.
Represents a mission step.
Returned from the various subscribe calls.
Created by patricktwohig on 7/13/15.
ApplicationService
implemented for when the current user has User.Level.SUPERUSER
access.Created by patricktwohig on 6/14/17.
Created by patricktwohig on 5/25/17.
Created by patricktwohig on 5/25/17.
Implementation for users with
User.Level.SUPERUSER
users.Provides full access to the
Profile
and related types.Created by patricktwohig on 5/24/17.
Created by patricktwohig on 3/26/15.
Represents a one-way pipe which can be used to relay either an
Exception
or a successful result.Utilities for accessing the system classpath.
Similar to a
Pagination
, a Tabulation is a way to walk a dataset.Manages the global state of currently operating tasks.
Represents a
TaskEntry
An operational strategy, which defines a list of tasks.
Represents a globally-unique id of a task, associated with a resource.
Indexes all of the
TransactionalTask
instances in the datastore.Manages temporary files.
An implementation of the
ApplicationAssetLoader
which loads test Element
s from the
TestArtifactRegistry
.A helper class to find the test artifacts in the project.
Represents a specific test artifact in the collection of test assets.
Enumerates bundles, represented as directories of jar files, used in constructing test elements.
A test service.
Represents an event record, capturing name and arguments.
A thread-safe implementation of
SimpleLazyValue
.Manipulates instances of
TokenWithExpiration
within the database.Created by patricktwohig on 3/30/15.
Represents a system-wide topic which can be used as a place to publish and subscribe to messages.
The Publisher type which is returned by
Topic.getPublisher()
.Represents a subscription.
Entry point for manging
Topic
instances in the system.Represents a transaction with
Supplies instances of
ReadOnlyTransaction
as well as ReadWriteTransaction
for manipulating the
unerlying data storage.Represents a task from wihing the transactional data store.
Represents a mutable journal entry.
The listing of pre-defined types in the
ModelManifest
.Created by patricktwohig on 8/3/17.
Wrap the java standard
UncheckedInterruptedException
.Interface which behaves similar to an
AtomicLong
, but with reduced functionality.Used as a means to produce an instance of
UnixFSAtomicLong
from the underlying ByteBuffer
in the struct.Which checksum algorithm to use when committing the transaction.
Defines a Checksum-able type which is backed by a
SeekableByteChannel
or subclass.Defines a Checksum-able
Struct
type.Given a
ByteBuffer
, this slices the buffer into a series of smaller ByteBuffer
s which represent a
subset of the data.Represents a view of the underlying
UnixFSCircularBlockBuffer
.Represents a wraparound counter with a leading and trailing value.
Gets a snapshot of the counter.
Used to represent an object which has a FS path component.
Some dirty hacks to support atomic memory access.
Enumerates all commands that can take place during the scope of a transaction.
USed to build an instance of
UnixFSTransactionCommand
.Indicates the instruction.
Used to compile a set of instructions into a
UnixFSTransactionProgram
used for committing the requested
transactions to disk.Indicates the phase of the transactional program.
Implements the execution handlers.
A collection of useful utility routines when accessing the filesystem.
A result for the
UnixFSUtils.commit(UnixFSHasFilesystemPath, String)
operation.Defines an operation which may throw an instance of
IOException
Defines an operation which may throw an instance of
IOException
Created by patricktwohig on 5/8/15.
Handle git-upload-pack errors.
Process a git-upload-pack request.
Created by patricktwohig on 8/23/17.
Represents a user in the system.
Represents a user claim from a JWT request.
This is the UserDao which is used to update users in the database.
Enumerates the user keys.
Created by patricktwohig on 7/20/17.
Created by patricktwohig on 4/1/15.
Created by patricktwohig on 4/2/15.
Created by patricktwohig on 4/2/15.
Created by patricktwohig on 8/4/17.
Implementation for users with
User.Level.USER
users.Created by patricktwohig on 6/29/17.
Created by patricktwohig on 3/25/15.
Service to access Users in the system.
Supplies the appropriate
UserService
based on current
access level.This is the UserUidDao which is used to manage associated unique user ids.
Created by patricktwohig on 4/2/15.
Created by patricktwohig on 3/26/15.
Created by patricktwohig on 5/7/15.
Created by patricktwohig on 5/7/15.
Used in conjunction with the jakarta.validation annotations to specify the various groups in annotation.
Deprecated.
Used in the context of inserting the object in the database for the first time.
Used when the value is read or referenced.
Used in the context of updating an object, such as when used ina PUT request.
Created by patricktwohig on 5/7/15.
Annotates a field that will validate the field using the validation groups specified in this annotations
ValidWithGroups.groups()
property.Encrypts and decrypts
Vault
s.Manages instance of the
Vault
.Manages instances of
Vault
sProvides simple version information about the running service.
This is an empty interface which is used as a place to house Swagger definitions.
Gets the
Version
of the current build.Defers to the
VersionService
to read the build metadata, and respond with a Version
instance
using the supplied ObjectMapper
.Creates instances of
WalletAccount
securely.Generates instances of
WalletAccount
.Encrypts and decrypts
Wallet
s.Manages blockchain wallets.
Times and executes watchdogs.
Represents the worker, hosing one or more nodes performing work.
Allows client code to read the sstate of the
Worker
Allows for the mutation of the
Worker
.Represents a watchdog service which is designed to perform operations against the
Worker
on a regular basis,
ensuring things like health checks and other critical operations.Overrides the path and path info.
BlockchainNetwork
instead