did_plc library
Classes
- AuditableLog
-
BatchProcessor<
T, R> - A processor for handling batch operations with parallel execution.
- BatchProcessorConfig
- Configuration for batch processing behavior.
-
BatchResult<
T, R> - Result of a batch operation.
- CachedOperation
- A utility class for performing cached operations.
- CacheManager
- A comprehensive cache manager for PLC data types.
- CacheManagerStats
- Comprehensive statistics for all cache types managed by CacheManager.
- CachePolicy
- Configuration for caching behavior in PLC operations.
- CacheStats
- Statistics about cache performance and usage.
- CompatibleOpOrTombstone
- CreateOperationV1
- CryptoKey
- Represents a cryptographic key with its type and raw bytes.
- DidBuilder
- Builder for creating DID documents.
- DidDocument
- DidValidator
- Validator for DID documents.
- DocumentData
- ExportedOperation
- HttpClient
- Abstract HTTP client interface for PLC operations.
-
HttpResponse<
T> - HTTP response wrapper for PLC operations.
- Instance
-
JsonlParser<
T> - A parser for JSONL (JSON Lines) format streams.
- KeyManager
- Manages cryptographic keys for PLC operations.
-
MemoryCache<
T> - A memory-based cache implementation with TTL and LRU eviction support.
- Operation
- OperationBuilder
- Builder for creating PLC operations.
- OperationLog
- OperationUtils
- Utility functions for creating common PLC operations and components.
- OperationValidator
- Validator for PLC operations.
- PLC
- Main PLC (Placeholder) client for interacting with PLC directories.
- PlcSigner
- Signs PLC operations with cryptographic keys.
- PlcVerifier
- Verifies signatures on PLC operations.
-
ProcessingResult<
T, R> - Result of processing a single item.
- RetryPolicy
- Configuration for HTTP request retry behavior.
- Semaphore
- A semaphore for controlling concurrency.
- Service
-
StreamProcessor<
T> - A processor for handling streams with backpressure control and error handling.
- StreamProcessorConfig
- Configuration for stream processing behavior.
- Tombstone
- VerificationMethod
- VerificationResult
- Result of signature verification.
Enums
- KeyType
- Supported cryptographic key types for PLC operations.
Extensions
- AuditableLogPatterns on AuditableLog
- Adds pattern-matching-related methods to AuditableLog.
- CachePolicyExtension on CachePolicy
- Extension methods for CachePolicy to provide utility functions.
- CachePolicyPatterns on CachePolicy
- Adds pattern-matching-related methods to CachePolicy.
- CompatibleOpOrTombstonePatterns on CompatibleOpOrTombstone
- Adds pattern-matching-related methods to CompatibleOpOrTombstone.
- CreateOperationV1Patterns on CreateOperationV1
- Adds pattern-matching-related methods to CreateOperationV1.
- DidDocumentPatterns on DidDocument
- Adds pattern-matching-related methods to DidDocument.
- DocumentDataPatterns on DocumentData
- Adds pattern-matching-related methods to DocumentData.
- ExportedOperationPatterns on ExportedOperation
- Adds pattern-matching-related methods to ExportedOperation.
-
HttpResponseExtension
on HttpResponse<
T> - Extension methods for HttpResponse to provide convenient access patterns.
-
HttpResponsePatterns
on HttpResponse<
T> - Adds pattern-matching-related methods to HttpResponse.
- InstancePatterns on Instance
- Adds pattern-matching-related methods to Instance.
- OperationLogPatterns on OperationLog
- Adds pattern-matching-related methods to OperationLog.
- OperationPatterns on Operation
- Adds pattern-matching-related methods to Operation.
- RetryPolicyExtension on RetryPolicy
- Extension methods for RetryPolicy to provide utility functions.
- RetryPolicyPatterns on RetryPolicy
- Adds pattern-matching-related methods to RetryPolicy.
- ServicePatterns on Service
- Adds pattern-matching-related methods to Service.
- TombstonePatterns on Tombstone
- Adds pattern-matching-related methods to Tombstone.
- VerificationMethodPatterns on VerificationMethod
- Adds pattern-matching-related methods to VerificationMethod.
Exceptions / Errors
- BatchProcessingException
- Exception thrown when batch processing fails.
- ConnectionException
- Exception thrown when there are connection issues.
- CryptoException
- Exception thrown when cryptographic operations fail.
- GenericPlcException
- Generic PLC exception for unexpected errors.
- JsonlParseException
- Exception thrown when JSONL parsing fails.
- NetworkException
- Exception thrown when network operations fail.
- NotFoundException
- Exception thrown when a requested resource is not found.
- PlcException
- Base exception class for all PLC-related errors.
- RateLimitException
- Exception thrown when rate limiting is encountered.
- RetryExhaustedException
- Exception thrown when retry attempts are exhausted.
- Exception thrown when the server is temporarily unavailable.
- StreamProcessingException
- Exception thrown when stream processing fails.
- TimeoutException
- Exception thrown when a request times out.
- ValidationException
- Exception thrown when validation fails.